From 2ba9f8bcc9e64e9d88bd813c9e5c5ffcd39a3105 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期六, 08 十一月 2025 17:58:59 +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