From 32973f90869ff466401759c23681fc06fa65c71a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 10 六月 2025 23:06:50 +0800 Subject: [PATCH] Merge branch 'master' into positec --- scripts/build.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index a107a7b..1178ec6 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -1,4 +1,4 @@ -'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'; @@ -67,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