Fix build process for mapbox gl

This commit is contained in:
lukasmartinelli
2016-09-10 16:05:04 +02:00
parent 0e65ac8937
commit e4049fa5da
8 changed files with 49 additions and 31 deletions

View File

@@ -47,5 +47,14 @@ module.exports = [
test: /\.png/,
exclude: /(node_modules|bower_components)/,
loader: "url-loader?limit=10000&mimetype=image/png"
},
{
test: /\.json$/,
loader: 'json-loader'
},
{
test: /\.js$/,
include: '/node_modules/mapbox-gl-shaders/index.js',
loader: 'transform/cacheable?brfs'
}
];