From e76be1a247a5d52c0428dc14b92e9e98b77c83b0 Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Tue, 20 Sep 2016 18:16:00 +0200 Subject: [PATCH] Upgrade to Mapbox GL JS v0.24 and solve dedupe problem --- package.json | 4 ++-- webpack.production.config.js | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 7d8d958..92fe136 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "dependencies": { "file-saver": "^1.3.2", "immutable": "^3.8.1", - "mapbox-gl": "^0.23.0", - "mapbox-gl-style-spec": "^8.8.0", + "mapbox-gl": "^0.24.0", + "mapbox-gl-style-spec": "mapbox/mapbox-gl-style-spec#83b1a3e5837d785af582efd5ed1a212f2df6a4ae", "node-sass": "^3.9.2", "randomcolor": "^0.4.4", "react": "^15.3.0", diff --git a/webpack.production.config.js b/webpack.production.config.js index a8d6c28..9c94981 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -93,9 +93,6 @@ module.exports = { template: './src/template.html', title: 'Maputnik' }), - //TODO: If the DedupePlugin errors happen - // I guess this has todo that i use the Mapbox GL spec - // at severall places from different locations? - //new webpack.optimize.DedupePlugin() + new webpack.optimize.DedupePlugin() ] };