mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Fix jshint preloader
This commit is contained in:
parent
88a912c1f5
commit
945bb11da6
@ -32,8 +32,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
preLoaders: [{
|
preLoaders: [{
|
||||||
test: '\\.js$',
|
test: /\.js$/,
|
||||||
exclude: 'node_modules',
|
exclude: /node_modules/,
|
||||||
loader: 'jshint'
|
loader: 'jshint'
|
||||||
}],
|
}],
|
||||||
loaders: [{
|
loaders: [{
|
||||||
|
|||||||
@ -38,8 +38,8 @@ module.exports = {
|
|||||||
|
|
||||||
module: {
|
module: {
|
||||||
preLoaders: [{
|
preLoaders: [{
|
||||||
test: '\\.js$',
|
test: /\.js$/,
|
||||||
exclude: 'node_modules',
|
exclude: /node_modules/,
|
||||||
loader: 'jshint'
|
loader: 'jshint'
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user