Upgraded reference to mapbox-gl to v0.29.0 to follow their latest webpack recommendations and support Windows dev. This is addressed in mapbox/mapbox-gl-js#3724

This commit is contained in:
PetersonGIS
2016-12-28 11:10:27 -07:00
parent 80678af691
commit 58897f1856
6 changed files with 8 additions and 34 deletions
+2 -7
View File
@@ -17,7 +17,7 @@ module.exports = {
app: './src/index.jsx',
vendor: [
'file-saver',
'mapbox-gl',
'mapbox-gl/dist/mapbox-gl.js',
//TODO: Build failure because cannot resolve migrations file
//"mapbox-gl-style-spec",
"randomcolor",
@@ -51,12 +51,7 @@ module.exports = {
extensions: ['', '.js', '.jsx']
},
module: {
loaders,
postLoaders: [{
include: /node_modules\/mapbox-gl-shaders/,
loader: 'transform',
query: 'brfs'
}]
loaders
},
node: {
fs: "empty",