mirror of
https://github.com/maputnik/editor.git
synced 2026-07-27 08:17:26 +00:00
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:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user