You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/05/23 07:01:04 UTC
[dolphinscheduler] 15/33: [Build][UI] Solve vite config throws terser warning. (#10105)
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit 2c290b2f2bff641f9f7be6919c8c7ab18fae93be
Author: songjianet <17...@qq.com>
AuthorDate: Wed May 18 22:12:52 2022 +0800
[Build][UI] Solve vite config throws terser warning. (#10105)
(cherry picked from commit bc71c3b0a0f7d93c3fccb850beb386fc5eb1a20c)
---
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'),