akfun 3.2.5 → 3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -311,5 +311,11 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
311
311
|
webpackConfig.plugins.push(...curWebpackConfig.plugins);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
+
// 判断是否有自定义loader
|
|
315
|
+
if (curWebpackConfig.moduleRules && Array.isArray(curWebpackConfig.moduleRules)) {
|
|
316
|
+
// 添加自定义自定义loader
|
|
317
|
+
webpackConfig.module.rules.push(...curWebpackConfig.moduleRules);
|
|
318
|
+
}
|
|
319
|
+
|
|
314
320
|
return webpackConfig;
|
|
315
321
|
};
|