From 8fd4ae1282835d4347787aea5a327c8e17baccd1 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 13 六月 2022 21:43:31 +0800 Subject: [PATCH] 优化druid开启wall过滤器出现的异常问题 --- ruoyi-ui/babel.config.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/babel.config.js b/ruoyi-ui/babel.config.js index b732c91..58e8793 100644 --- a/ruoyi-ui/babel.config.js +++ b/ruoyi-ui/babel.config.js @@ -4,10 +4,10 @@ '@vue/cli-plugin-babel/preset' ], 'env': { - 'development': { + 'production': { // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require(). // This plugin can significantly increase the speed of hot updates, when you have a large number of pages. 'plugins': ['dynamic-import-node'] } } -} +} \ No newline at end of file -- Gitblit v1.9.2