From 2c10ebdd2a71594528c86478a4268565ed0cf5cf Mon Sep 17 00:00:00 2001 From: "Ghislain B." Date: Fri, 4 Oct 2024 17:54:57 -0400 Subject: [PATCH] chore: tsup minify build output --- packages/multiple-select-vanilla/tsup.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/multiple-select-vanilla/tsup.config.ts b/packages/multiple-select-vanilla/tsup.config.ts index 86e8537f..cfbb8ade 100644 --- a/packages/multiple-select-vanilla/tsup.config.ts +++ b/packages/multiple-select-vanilla/tsup.config.ts @@ -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 @@ -19,6 +20,7 @@ export default defineConfig(options => [ sourcemap: true, // clean: true, dts: !options.watch, + minify: true, outExtension: ({ format }) => ({ js: format === 'cjs' ? '.cjs' : '.mjs', }),