Parcourir la source

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

songjianet il y a 2 ans
Parent
commit
bc71c3b0a0
1 fichiers modifiés avec 0 ajouts et 8 suppressions
  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'),