Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Jul 22, 2024
1 parent 665cc99 commit 8764565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"starter-cli": "bin/main.mjs"
},
"files": [
"bin",
"dist"
],
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig(
bundle: true,
external: ['./package.json'],
outExtension: ({ format }) =>
({ js: format === 'esm' ? '.mjs' : '.js' }),
({ js: format === 'esm' ? '.mjs' : '.cjs' }),
},
{
entry: { index: './src/index.ts' },
Expand Down

0 comments on commit 8764565

Please sign in to comment.