From eab1b450d52782737aad6b0d1bed3e6884ec3a2f Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 13 六月 2022 21:43:11 +0800
Subject: [PATCH] 优化代码

---
 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