add eslint to dev webpack

This commit is contained in:
catarak 2016-06-27 17:40:16 -04:00
parent cfd4d998cf
commit 8aeb46130e

View file

@ -25,12 +25,9 @@ module.exports = {
module: { module: {
loaders: [ loaders: [
{ {
test: /\.jsx*$/, test: /\.jsx?$/,
exclude: [/node_modules/, /.+\.config.js/], exclude: [/node_modules/, /.+\.config.js/],
loader: 'babel', loaders: ['babel?presets[]=react-hmre', 'eslint-loader']
query: {
presets: ['react-hmre'],
},
}, },
{ {
test: /\.scss$/, test: /\.scss$/,