mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-11 06:29:21 +00:00
Feat/scott man (#2970)
* feat: esbuild增加不同开发模式下对cnosole debugger的处理 * fix: fix production spelling
This commit is contained in:
@@ -7,7 +7,7 @@ const commonConfig: (mode: string) => UserConfig = (mode) => ({
|
|||||||
host: true,
|
host: true,
|
||||||
},
|
},
|
||||||
esbuild: {
|
esbuild: {
|
||||||
drop: mode === 'procution' ? ['console', 'debugger'] : [],
|
drop: mode === 'production' ? ['console', 'debugger'] : [],
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
reportCompressedSize: false,
|
reportCompressedSize: false,
|
||||||
|
Reference in New Issue
Block a user