mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 08:36:19 +08: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,
|
||||
},
|
||||
esbuild: {
|
||||
drop: mode === 'procution' ? ['console', 'debugger'] : [],
|
||||
drop: mode === 'production' ? ['console', 'debugger'] : [],
|
||||
},
|
||||
build: {
|
||||
reportCompressedSize: false,
|
||||
|
Reference in New Issue
Block a user