Fix CSS loading for production

This commit is contained in:
Lukas Martinelli
2016-12-22 18:19:34 +01:00
parent 3ee1473a49
commit cfb7f56574
3 changed files with 7 additions and 27 deletions

View File

@@ -54,5 +54,12 @@ module.exports = [
test: /\.js$/,
include: /node_modules\/mapbox-gl\/js\/render\/shaders.js/,
loader: 'transform/cacheable?brfs'
},
{
test: /[\/\\](node_modules|global|src)[\/\\].*\.css$/,
loaders: [
'style?sourceMap',
'css'
]
}
];