commit: 3783cadf2d7a2b7ace078d1d337645f53c190c69
parent: a071047c1333cee6baa389aabd73394749a1af11
Author: Nolan Lawson <nolan@nolanlawson.com>
Date: Fri, 23 Jun 2017 09:21:33 -0700
Apply babel to react-intl to remove prop-types (#3914)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js
@@ -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',