Skip to content

Commit 2c10ebd

Browse files
authored
chore: tsup minify build output
1 parent 0cb75cb commit 2c10ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/multiple-select-vanilla/tsup.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig(options => [
99
sourcemap: true,
1010
// clean: true,
1111
dts: !options.watch,
12+
minify: !options.watch,
1213
outExtension: ({ format }) => ({ js: format === 'cjs' ? '.cjs' : '.mjs' }),
1314
},
1415
// common js for node and other backend runtimes
@@ -19,6 +20,7 @@ export default defineConfig(options => [
1920
sourcemap: true,
2021
// clean: true,
2122
dts: !options.watch,
23+
minify: true,
2224
outExtension: ({ format }) => ({
2325
js: format === 'cjs' ? '.cjs' : '.mjs',
2426
}),

0 commit comments

Comments
 (0)