From bc71c3b0a0f7d93c3fccb850beb386fc5eb1a20c Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Wed, 18 May 2022 22:12:52 +0800 Subject: [PATCH] [Build][UI] Solve vite config throws terser warning. (#10105) --- dolphinscheduler-ui/vite.config.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dolphinscheduler-ui/vite.config.ts b/dolphinscheduler-ui/vite.config.ts index 1988ee807..bad7b707f 100644 --- a/dolphinscheduler-ui/vite.config.ts +++ b/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'), -- GitLab