about summary refs log tree commit diff
path: root/config/webpack/loaders/babel.js
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-10-10 09:44:51 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-10-10 18:44:51 +0200
commitbebaa6eced0af2665d105beb59bd21030425245a (patch)
tree9c88ae0b8630396cc23efcb63a5b8ec7e77364bc /config/webpack/loaders/babel.js
parent616f53eea81ba23d824744119aeed7cf4d22a03b (diff)
Remove prop types from external libraries (#5304)
Diffstat (limited to 'config/webpack/loaders/babel.js')
-rw-r--r--config/webpack/loaders/babel.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js
index 1416191c0..e17d2fa70 100644
--- a/config/webpack/loaders/babel.js
+++ b/config/webpack/loaders/babel.js
@@ -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,