From 88363b14a0ad494718ea6a7eaf7a9de84382268c Mon Sep 17 00:00:00 2001 From: Alex Zherdev Date: Wed, 27 Jul 2016 16:41:34 +0300 Subject: [PATCH] Turn off .babelrc usage (#236) --- config/babel.dev.js | 3 ++- config/babel.prod.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 };