diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 9936a87..8ad3a21 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -96,5 +96,8 @@ module.exports = { net: 'empty', tls: 'empty', child_process: 'empty' + }, + externals: { + 'AMap': 'AMap' } } diff --git a/index.html b/index.html index a5c3668..6f888bc 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,6 @@
+