From 570ed44d35f6ef1540d8377ef564cfec7bc63726 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 10 十一月 2025 09:56:16 +0800
Subject: [PATCH] fix: bug

---
 apps/bMiniApp/config/index.js |   30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/apps/bMiniApp/config/index.js b/apps/bMiniApp/config/index.js
index 1b6d59a..9ccd923 100644
--- a/apps/bMiniApp/config/index.js
+++ b/apps/bMiniApp/config/index.js
@@ -136,24 +136,22 @@
         })
       );
 
-      if (process.env.NODE_ENV !== 'development') {
-        chain.merge({
-          plugin: {
-            install: {
-              plugin: require('terser-webpack-plugin'),
-              args: [
-                {
-                  terserOptions: {
-                    compress: true, // 榛樿浣跨敤terser鍘嬬缉
-                    keep_classnames: true, // 涓嶆敼鍙榗lass鍚嶇О
-                    keep_fnames: true, // 涓嶆敼鍙樺嚱鏁板悕绉�
-                  },
+      chain.merge({
+        plugin: {
+          install: {
+            plugin: require('terser-webpack-plugin'),
+            args: [
+              {
+                terserOptions: {
+                  compress: true, // 榛樿浣跨敤terser鍘嬬缉
+                  keep_classnames: true, // 涓嶆敼鍙榗lass鍚嶇О
+                  keep_fnames: true, // 涓嶆敼鍙樺嚱鏁板悕绉�
                 },
-              ],
-            },
+              },
+            ],
           },
-        });
-      }
+        },
+      });
 
       chain.merge({
         optimization: {

--
Gitblit v1.9.1