Remove prop types from external libraries (#5304)
This commit is contained in:
committed by
Eugen Rochko
parent
616f53eea8
commit
bebaa6eced
@ -4,11 +4,7 @@ const env = process.env.NODE_ENV || 'development';
|
||||
|
||||
module.exports = {
|
||||
test: /\.js$/,
|
||||
// include react-intl because transform-react-remove-prop-types needs to apply to it
|
||||
exclude: {
|
||||
test: /node_modules/,
|
||||
exclude: /react-intl[\/\\](?!locale-data)/,
|
||||
},
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
forceEnv: env,
|
||||
|
Reference in New Issue
Block a user