From e8c277056fdb926bc97cfa9ae55d16546b32095e Mon Sep 17 00:00:00 2001 From: nesxy Date: Wed, 14 Aug 2019 02:42:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=99=BE=E5=BA=A6=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.base.conf.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 93406dd..a738996 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -17,6 +17,10 @@ let webpackConfig = { entry: { app: ["babel-polyfill", "./src/main.js"] }, + //添加 + externals: { + "BMap": "BMap" + }, output: { path: config.build.assetsRoot, filename: '[name].js', @@ -72,9 +76,5 @@ let webpackConfig = { module.exports = vuxLoader.merge(webpackConfig, { - plugins: ['vux-ui', 'progress-bar', 'duplicate-style'], - //添加 - externals: { - "BMap": "BMap" - }, + plugins: ['vux-ui', 'progress-bar', 'duplicate-style'] }) \ No newline at end of file