Skip to content

Commit d170c0d

Browse files
authored
chore: tsup minify build output
1 parent 43cd683 commit d170c0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/excel-builder-vanilla/tsup.config.ts

Lines changed: 3 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
}),
@@ -34,6 +36,7 @@ export default defineConfig(options => [
3436
splitting: false,
3537
sourcemap: true,
3638
clean: true,
39+
minify: true,
3740
outExtension: ({ format }) => ({
3841
js: '.iife.js',
3942
}),

0 commit comments

Comments
 (0)