build(projects): 配置更改

This commit is contained in:
Soybean
2022-06-06 12:09:15 +08:00
parent e9656c6e76
commit c8717c25b8
2 changed files with 5 additions and 2 deletions

View File

@ -35,9 +35,12 @@ export default defineConfig(configEnv => {
open: true,
proxy: createViteProxy(isOpenProxy, envConfig)
},
preview: {
port: 5050
},
build: {
brotliSize: false,
sourcemap: true,
sourcemap: false,
commonjsOptions: {
ignoreTryCatch: false
}