Fixed regexp for windows.

This commit is contained in:
orangemug
2017-07-11 06:30:37 +01:00
parent c552838fdd
commit 4bbfe1040e

View File

@@ -6,7 +6,7 @@ module.exports = [
},
{
test: /\.jsx?$/,
exclude: /(.*node_modules(?!\/@mapbox\/mapbox-gl-style-spec)|bower_components|public)/,
exclude: /(.*node_modules(?![\/\\]@mapbox[\/\\]mapbox-gl-style-spec)|bower_components|public)/,
loader: 'babel',
query: {
presets: ['es2015', 'react'],