Skip to content

Commit

Permalink
Pkg - Disable output minification
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Apr 15, 2024
1 parent 636482f commit af731f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/notivue/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ export default defineConfig({
},
esbuild: {
drop: isFinalBundle ? ['console'] : [],
...(!isFinalBundle ? { minifyIdentifiers: false, minifySyntax: false } : {}),
minifyIdentifiers: false,
minifySyntax: false,
},
build: {
emptyOutDir: isFinalBundle,
target: 'es2015',
minify: isFinalBundle ? 'esbuild' : false,
minify: false,
lib: {
entry: 'index.ts',
fileName: 'index',
Expand Down

0 comments on commit af731f9

Please sign in to comment.