add eslint to dev webpack
This commit is contained in:
parent
cfd4d998cf
commit
8aeb46130e
1 changed files with 2 additions and 5 deletions
|
@ -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$/,
|
||||
|
|
Loading…
Reference in a new issue