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
-14
View File
@@ -13,15 +13,6 @@ module.exports = [
plugins: ['transform-runtime', 'transform-decorators-legacy', 'transform-class-properties'],
}
},
{
test: /\.js?$/,
include: /node_modules\/mapbox-gl\//,
loader: 'babel',
query: {
presets: ['react'],
plugins: ['transform-flow-strip-types'],
}
},
{
test: /\.(eot|svg|ttf|woff|woff2)$/,
loader: 'file?name=fonts/[name].[ext]'
@@ -50,11 +41,6 @@ module.exports = [
test: /\.json$/,
loader: 'json-loader'
},
{
test: /\.js$/,
include: /node_modules\/mapbox-gl\/js\/render\/shaders.js/,
loader: 'transform/cacheable?brfs'
},
{
test: /[\/\\](node_modules|global|src)[\/\\].*\.css$/,
loaders: [