Skip to content

Commit

Permalink
chore: tsup minify build output
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Oct 4, 2024
1 parent 0cb75cb commit 2c10ebd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/multiple-select-vanilla/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig(options => [
sourcemap: true,
// clean: true,
dts: !options.watch,
minify: !options.watch,
outExtension: ({ format }) => ({ js: format === 'cjs' ? '.cjs' : '.mjs' }),
},
// common js for node and other backend runtimes
Expand All @@ -19,6 +20,7 @@ export default defineConfig(options => [
sourcemap: true,
// clean: true,
dts: !options.watch,
minify: true,
outExtension: ({ format }) => ({
js: format === 'cjs' ? '.cjs' : '.mjs',
}),
Expand Down

0 comments on commit 2c10ebd

Please sign in to comment.