From 8aeb46130e88431bda6df8a64f09dc673ce58e3c Mon Sep 17 00:00:00 2001 From: catarak Date: Mon, 27 Jun 2016 17:40:16 -0400 Subject: [PATCH] add eslint to dev webpack --- webpack.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 5647e19e..190db37f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,12 +25,9 @@ module.exports = { module: { loaders: [ { - test: /\.jsx*$/, + test: /\.jsx?$/, exclude: [/node_modules/, /.+\.config.js/], - loader: 'babel', - query: { - presets: ['react-hmre'], - }, + loaders: ['babel?presets[]=react-hmre', 'eslint-loader'] }, { test: /\.scss$/,