Moved jshint config to .jshintrc

This commit is contained in:
Keivan Beigi 2015-02-03 16:56:18 -08:00
parent a7001ab322
commit 095e92c7dd
5 changed files with 36 additions and 22 deletions

View file

@ -1,4 +1,5 @@
var path = require('path');
var stylish = require('jshint-stylish');
module.exports = {
entry : 'main.js',
@ -37,8 +38,19 @@ module.exports = {
'bootstrap.tagsinput' : 'JsLibraries/bootstrap.tagsinput',
'libs' : 'JsLibraries/'
}
}, output : {
},
output : {
filename : '_output/UI/main.js',
sourceMapFilename : '_output/UI/main.map'
}
},
module: {
//this doesn't work yet. wainting for https://github.com/spenceralger/rcloader/issues/5
preLoaders: [
{
test: /\.js$/, // include .js files
loader: "jshint-loader",
exclude: [/JsLibraries/,/node_modules/]
}
]
}
};