删除打包后去掉的console.log internal\vite-config\src\config\common.ts
parent
6c92ca1589
commit
9a0527f910
|
|
@ -6,7 +6,7 @@ const commonConfig: (mode: string) => UserConfig = (mode) => ({
|
|||
host: true,
|
||||
},
|
||||
esbuild: {
|
||||
drop: mode === 'production' ? ['console', 'debugger'] : [],
|
||||
drop: mode === 'production' ? ['debugger'] : [],
|
||||
},
|
||||
build: {
|
||||
reportCompressedSize: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue