From 729fb5e7f41f45c6962993d86c3a4eb81c2c784b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 六月 2025 23:06:06 +0800
Subject: [PATCH] Merge branch 'develop'

---
 scripts/build.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/scripts/build.js b/scripts/build.js
index a8c7bc6..1178ec6 100644
--- a/scripts/build.js
+++ b/scripts/build.js
@@ -1,8 +1,9 @@
-'use strict';
+// 'use strict';
 
 // Do this as the first thing so that any code reading it knows the right env.
 process.env.BABEL_ENV = 'production';
 process.env.NODE_ENV = 'production';
+process.env.GENERATE_SOURCEMAP = 'false';
 
 // Makes the script crash on unhandled rejections instead of silently
 // ignoring them. In the future, promise rejections that are not handled will
@@ -66,6 +67,8 @@
   })
   .then(
     ({ stats, previousFileSizes, warnings }) => {
+      // 鍒犻櫎鎺у埗鍙癱ss寮曠敤椤哄簭璀﹀憡淇℃伅
+      warnings = warnings.filter(warning => !/Conflicting order between/ig.test(warning))
       if (warnings.length) {
         console.log(chalk.yellow('Compiled with warnings.\n'));
         console.log(warnings.join('\n\n'));

--
Gitblit v1.8.0