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

songjian pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.0.0-beta-prepare by this 
push:
     new 13d723bbe4 [Cherry-Pick][Build][UI] Solve vite config throws terser 
warning. (#10155)
13d723bbe4 is described below

commit 13d723bbe4f29481c4b09392590910bcfe1801c9
Author: songjianet <[email protected]>
AuthorDate: Fri May 20 14:06:28 2022 +0800

    [Cherry-Pick][Build][UI] Solve vite config throws terser warning. (#10155)
---
 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'),

Reply via email to