From 015445bdb5413b8885d33337401e7b80d5c67b53 Mon Sep 17 00:00:00 2001 From: Liad Yosef Date: Tue, 16 Feb 2016 00:32:31 +0200 Subject: [PATCH] remove configuration from babel loader query --- webpack.local.config.js | 2 +- webpack.production.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.local.config.js b/webpack.local.config.js index 3935b94..0604f6e 100644 --- a/webpack.local.config.js +++ b/webpack.local.config.js @@ -41,7 +41,7 @@ module.exports = { // Transform source code using Babel and React Hot Loader module: { loaders: [ - { test: /\.jsx?$/, exclude: /node_modules/, loaders: ["react-hot", "babel-loader?presets[]=es2015,presets[]=react,presets[]=stage-0,plugins[]=transform-runtime"] }, + { test: /\.jsx?$/, exclude: /node_modules/, loaders: ["react-hot", "babel-loader"] }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader') } ] }, diff --git a/webpack.production.config.js b/webpack.production.config.js index 14d96f8..a8478d1 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -18,7 +18,7 @@ module.exports = { module: { loaders: [ - { test: /\.jsx?$/, exclude: /node_modules/, loader: "babel-loader?presets[]=es2015,presets[]=react,presets[]=stage-0,plugins[]=transform-runtime" }, + { test: /\.jsx?$/, exclude: /node_modules/, loader: "babel-loader" }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader') } ] },