From 4bfafa31d34f0729070954a02cb7701215c4e6ce Mon Sep 17 00:00:00 2001 From: pqcqaq <905739777@qq.com> Date: Mon, 9 Dec 2024 23:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E7=9A=84rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/web/webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/web/webpack.config.js b/config/web/webpack.config.js index 331c277..e6fe325 100644 --- a/config/web/webpack.config.js +++ b/config/web/webpack.config.js @@ -800,6 +800,9 @@ module.exports = function (webpackEnv) { // Make sure to add the new loader(s) before the "file" loader. ], }, + ...(projectConfiguration && + projectConfiguration.module && + projectConfiguration.module.rules ? projectConfiguration.module.rules : []), ].filter(Boolean), }, plugins: [