]> cat aescling's git repositories - mastodon.git/commitdiff
Fix webpack config for Windows (#3926)
authorunarist <m.unarist@gmail.com>
Sat, 24 Jun 2017 12:03:52 +0000 (21:03 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 24 Jun 2017 12:03:52 +0000 (14:03 +0200)
config/webpack/loaders/babel.js

index c23aa93751fb620fc2e4adad2e4fadd9370335e8..ae65db9eb5917d199508eab99904cd02d812d449 100644 (file)
@@ -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',