From 71b1d3d1a64ef1cae23fd22b25839d097eca74fd Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 6 Apr 2017 14:32:56 -0400 Subject: [PATCH] Swap to a .babelrc instead of using inline configurations. --- client/.babelrc | 3 +++ client/webpack.config.js | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 client/.babelrc diff --git a/client/.babelrc b/client/.babelrc new file mode 100644 index 00000000000..002b4aa0d58 --- /dev/null +++ b/client/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["env"] +} diff --git a/client/webpack.config.js b/client/webpack.config.js index a67905108d1..4888dc90b21 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -61,9 +61,8 @@ module.exports = { /(node_modules|bower_components)/, libsBase ], - loader: 'babel-loader', - query: { presets:['env'], - compact: false } }, + loader: 'babel-loader' + } ], }, resolveLoader : {