From d5c9fa3881cfaa35b1e2b53374a27ccb3399cc73 Mon Sep 17 00:00:00 2001 From: shaodahong Date: Wed, 22 Jul 2020 18:27:33 +0800 Subject: [PATCH] fix: disable url-loader esModule --- bin/build/base.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/build/base.js b/bin/build/base.js index 507d40f1..a44b9715 100644 --- a/bin/build/base.js +++ b/bin/build/base.js @@ -75,6 +75,7 @@ let webpackConfig = { limit: 10000, name: utils.assetsPath('img/[name].[hash:7].[ext]'), publicPath: config[process.env.PACKAGE].cssAssetsPath, + esModule: false, }, }, ],