Browse Source

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

songjianet 2 years ago
parent
commit
bc71c3b0a0
1 changed files with 0 additions and 8 deletions
  1. 0 8
      dolphinscheduler-ui/vite.config.ts

+ 0 - 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'),