mirror of
https://github.com/maputnik/editor.git
synced 2026-01-01 19:10:01 +00:00
Upgrade to Mapbox GL 0.28
This commit is contained in:
@@ -13,6 +13,15 @@ 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]'
|
||||
|
||||
Reference in New Issue
Block a user