mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
support minify on build phase
This commit is contained in:
parent
9456f5c270
commit
1c0d0a50b7
@ -11,8 +11,7 @@ export default defineConfig({
|
||||
entry: 'index.ts',
|
||||
formats: ['cjs'],
|
||||
},
|
||||
sourcemap: false,
|
||||
minify: false,
|
||||
minify: process.env.NODE_ENV === 'production',
|
||||
emptyOutDir: true,
|
||||
rollupOptions: {
|
||||
external: [
|
||||
|
@ -11,8 +11,7 @@ export default defineConfig({
|
||||
entry: 'index.ts',
|
||||
formats: ['cjs'],
|
||||
},
|
||||
sourcemap: false,
|
||||
minify: false,
|
||||
minify: process.env.NODE_ENV === 'production',
|
||||
emptyOutDir: true,
|
||||
rollupOptions: {
|
||||
external: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user