Fix webpack config for Windows (#3926)

lolsob-rspec
unarist 2017-06-24 21:03:52 +09:00 committed by Eugen Rochko
parent 6779ba5f18
commit 741fd15f4e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
module.exports = { module.exports = {
test: /\.js$/, test: /\.js$/,
// include react-intl because transform-react-remove-prop-types needs to apply to it // 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', loader: 'babel-loader',
options: { options: {
forceEnv: process.env.NODE_ENV || 'development', forceEnv: process.env.NODE_ENV || 'development',