[Build][UI] Solve vite config throws terser warning. (#10105)

This commit is contained in:
songjianet 2022-05-18 22:12:52 +08:00 committed by GitHub
parent ee2b855ced
commit bc71c3b0a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -35,14 +35,6 @@ export default defineConfig({
deleteOriginFile: false
})
],
build: {
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true
}
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),