Upgrade to Mapbox GL JS v0.24 and solve dedupe problem

This commit is contained in:
lukasmartinelli 2016-09-20 18:16:00 +02:00
parent be5e0fea00
commit e76be1a247
2 changed files with 3 additions and 6 deletions

View file

@ -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",

View file

@ -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()
]
};