You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/05/18 14:13:00 UTC

[dolphinscheduler] branch dev updated: [Build][UI] Solve vite config throws terser warning. (#10105)

This is an automated email from the ASF dual-hosted git repository.

songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new bc71c3b0a0 [Build][UI] Solve vite config throws terser warning. (#10105)
bc71c3b0a0 is described below

commit bc71c3b0a0f7d93c3fccb850beb386fc5eb1a20c
Author: songjianet <17...@qq.com>
AuthorDate: Wed May 18 22:12:52 2022 +0800

    [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 1988ee8072..bad7b707f5 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'),