Fixed regexp for windows.

This commit is contained in:
orangemug
2017-07-11 06:30:37 +01:00
parent c552838fdd
commit 4bbfe1040e
+1 -1
View File
@@ -6,7 +6,7 @@ module.exports = [
}, },
{ {
test: /\.jsx?$/, 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', loader: 'babel',
query: { query: {
presets: ['es2015', 'react'], presets: ['es2015', 'react'],