Skip to content

Commit

Permalink
chore: small vite config update
Browse files Browse the repository at this point in the history
  • Loading branch information
VicGUTT committed Nov 27, 2022
1 parent 380b3ca commit 920b6b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export default defineConfig({
define: {
__APP_VERSION__: lib.version,
},
esbuild: {
minify: true,
},
build: {
/**
* @see https://vitejs.dev/config/#build-target
Expand All @@ -26,8 +29,7 @@ export default defineConfig({
*/
chunkSizeWarningLimit: 10, // 10 kbs

// manifest: true,
// minify: false,
minify: 'terser',

/**
* @see https://vitejs.dev/config/#build-rollupoptions
Expand Down

0 comments on commit 920b6b2

Please sign in to comment.