Skip to content

Commit

Permalink
Removed uglify because of es6 issues when building. Added loaded prom…
Browse files Browse the repository at this point in the history
…ise to exports. You can now import { loaded } from the node_module and then do await loaded, to wait until the maps api has loaded.
  • Loading branch information
mattiasahlsen committed Aug 20, 2020
1 parent 8d6bbac commit c11e9a9
Show file tree
Hide file tree
Showing 7 changed files with 9,971 additions and 10,075 deletions.
6 changes: 0 additions & 6 deletions config/webpack.production.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require('path')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')

const config = {
Expand All @@ -9,11 +8,6 @@ const config = {
],
optimization: {
minimizer: [
new UglifyJsPlugin({
cache: true,
parallel: true,
sourceMap: true
}),
new OptimizeCSSAssetsPlugin({})
]
},
Expand Down
Empty file modified dist/.babelrc
100755 → 100644
Empty file.
3,248 changes: 3,247 additions & 1 deletion dist/vue-google-maps.js
100755 → 100644

Large diffs are not rendered by default.

Loading

0 comments on commit c11e9a9

Please sign in to comment.