Feat/scott man (#2970)
* feat: esbuild增加不同开发模式下对cnosole debugger的处理 * fix: fix production spelling
This commit is contained in:
parent
2c74e790cb
commit
a2a78f40da
|
|
@ -7,7 +7,7 @@ const commonConfig: (mode: string) => UserConfig = (mode) => ({
|
|||
host: true,
|
||||
},
|
||||
esbuild: {
|
||||
drop: mode === 'procution' ? ['console', 'debugger'] : [],
|
||||
drop: mode === 'production' ? ['console', 'debugger'] : [],
|
||||
},
|
||||
build: {
|
||||
reportCompressedSize: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue