about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-06-24 21:03:52 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-24 14:03:52 +0200
commit138e5a0b1ebc7d21c1f2a73c9742cef600c5af40 (patch)
tree28a69172bbb28b7112f6297fdc57389e0ddeb1e6 /config/webpack
parent79dacea96254d8b01f9896e026b27c572401f2a8 (diff)
Fix webpack config for Windows (#3926)
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/loaders/babel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js
index c23aa9375..ae65db9eb 100644
--- a/config/webpack/loaders/babel.js
+++ b/config/webpack/loaders/babel.js
@@ -1,7 +1,7 @@
 module.exports = {
   test: /\.js$/,
   // include react-intl because transform-react-remove-prop-types needs to apply to it
-  exclude: /node_modules\/(?!react-intl)/,
+  exclude: /node_modules[\/\\](?!react-intl)/,
   loader: 'babel-loader',
   options: {
     forceEnv: process.env.NODE_ENV || 'development',