add eslint to dev webpack

This commit is contained in:
catarak 2016-06-27 17:40:16 -04:00
parent cfd4d998cf
commit 8aeb46130e
1 changed files with 2 additions and 5 deletions

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$/,