Skip to content

Commit c11e9a9

Browse files
committed
Removed uglify because of es6 issues when building. Added loaded promise to exports. You can now import { loaded } from the node_module and then do await loaded, to wait until the maps api has loaded.
1 parent 8d6bbac commit c11e9a9

File tree

7 files changed

+9971
-10075
lines changed

7 files changed

+9971
-10075
lines changed

config/webpack.production.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path')
22
const VueLoaderPlugin = require('vue-loader/lib/plugin')
3-
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
43
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')
54

65
const config = {
@@ -9,11 +8,6 @@ const config = {
98
],
109
optimization: {
1110
minimizer: [
12-
new UglifyJsPlugin({
13-
cache: true,
14-
parallel: true,
15-
sourceMap: true
16-
}),
1711
new OptimizeCSSAssetsPlugin({})
1812
]
1913
},

dist/.babelrc

100755100644
File mode changed.

dist/vue-google-maps.js

100755100644
Lines changed: 3247 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)