Upgrade to Mapbox GL 0.28

This commit is contained in:
Lukas Martinelli
2016-12-19 12:51:23 +01:00
parent 2082de5fca
commit 220295442c
3 changed files with 12 additions and 2 deletions

View File

@@ -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]'