Fix webpack config for Windows (#3926)
This commit is contained in:
parent
79dacea962
commit
138e5a0b1e
|
@ -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',
|
||||||
|
|
Reference in a new issue