Browse Source

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

(cherry picked from commit bc71c3b0a0)
3.0.0/version-upgrade
songjianet 3 years ago committed by Jiajie Zhong
parent
commit
2c290b2f2b
  1. 8
      dolphinscheduler-ui/vite.config.ts

8
dolphinscheduler-ui/vite.config.ts

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

Loading…
Cancel
Save