Apply babel to react-intl to remove prop-types (#3914)

th-downstream
Nolan Lawson 7 years ago committed by Eugen Rochko
parent 12d1565d23
commit 9c246cac5c

@ -1,6 +1,7 @@
module.exports = {
test: /\.js$/,
exclude: /node_modules/,
// include react-intl because transform-react-remove-prop-types needs to apply to it
exclude: /node_modules\/(?!react-intl)/,
loader: 'babel-loader',
options: {
forceEnv: process.env.NODE_ENV || 'development',

Loading…
Cancel
Save