mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-25 23:35:21 +02:00
Add webpack JSHint loader.
This commit is contained in:
@@ -60,8 +60,15 @@ module.exports = {
|
||||
{ test: /dialogs\.js$/, loader: 'script'},
|
||||
{ test: /bluebird\.js$/, loader: 'imports?require=>undefined'}
|
||||
],
|
||||
preLoaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules|bower_components/,
|
||||
loader: 'jshint-loader'
|
||||
}
|
||||
],
|
||||
noParse: [
|
||||
// pathutil.resource('bower_components')
|
||||
//pathutil.resource('bower_components')
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user