ZhangZhiChao
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
vite.config.ts
|
|
@ -61,7 +61,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { |
|
|
proxy: createProxy(VITE_PROXY), |
|
|
proxy: createProxy(VITE_PROXY), |
|
|
}, |
|
|
}, |
|
|
esbuild: { |
|
|
esbuild: { |
|
|
pure: VITE_DROP_CONSOLE ? ['console.log', 'debugger'] : [], |
|
|
drop: VITE_DROP_CONSOLE ? ['console', 'debugger'] : [], |
|
|
}, |
|
|
}, |
|
|
build: { |
|
|
build: { |
|
|
target: 'es2015', |
|
|
target: 'es2015', |
|
|
|