mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-21 11:15:42 +08:00
Fix jshint preloader
This commit is contained in:
@@ -32,8 +32,8 @@ module.exports = {
|
||||
},
|
||||
module: {
|
||||
preLoaders: [{
|
||||
test: '\\.js$',
|
||||
exclude: 'node_modules',
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'jshint'
|
||||
}],
|
||||
loaders: [{
|
||||
|
||||
@@ -38,8 +38,8 @@ module.exports = {
|
||||
|
||||
module: {
|
||||
preLoaders: [{
|
||||
test: '\\.js$',
|
||||
exclude: 'node_modules',
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'jshint'
|
||||
}],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user