diff --git a/config/babel.dev.js b/config/babel.dev.js index 39309b21243..6ee2fd2db5e 100644 --- a/config/babel.dev.js +++ b/config/babel.dev.js @@ -18,5 +18,6 @@ module.exports = { 'babel-plugin-syntax-trailing-function-commas', 'babel-plugin-transform-class-properties', 'babel-plugin-transform-object-rest-spread' - ].map(require.resolve) + ].map(require.resolve), + babelrc: false }; diff --git a/config/babel.prod.js b/config/babel.prod.js index 77a33cf475d..c47f515c0eb 100644 --- a/config/babel.prod.js +++ b/config/babel.prod.js @@ -18,5 +18,6 @@ module.exports = { 'babel-plugin-transform-class-properties', 'babel-plugin-transform-object-rest-spread', 'babel-plugin-transform-react-constant-elements' - ].map(require.resolve) + ].map(require.resolve), + babelrc: false };