2015-02-04 01:33:40 +02:00
|
|
|
var path = require('path');
|
2015-02-04 02:56:18 +02:00
|
|
|
var stylish = require('jshint-stylish');
|
2015-02-04 01:33:40 +02:00
|
|
|
|
2015-02-03 03:18:45 +02:00
|
|
|
module.exports = {
|
|
|
|
entry : 'main.js',
|
|
|
|
resolve : {
|
2015-02-04 01:33:40 +02:00
|
|
|
root : path.join(__dirname, "src", "ui"),
|
2015-02-03 03:18:45 +02:00
|
|
|
alias : {
|
2015-02-07 20:30:02 +02:00
|
|
|
'vent' : 'vent',
|
2015-02-03 03:18:45 +02:00
|
|
|
'backbone' : 'Shims/backbone',
|
|
|
|
'moment' : 'JsLibraries/moment',
|
|
|
|
'filesize' : 'JsLibraries/filesize',
|
2015-02-04 21:40:31 +02:00
|
|
|
'handlebars' : 'Shims/handlebars',
|
2015-02-03 03:18:45 +02:00
|
|
|
'handlebars.helpers' : 'JsLibraries/handlebars.helpers',
|
|
|
|
'bootstrap' : 'JsLibraries/bootstrap',
|
|
|
|
'backbone.deepmodel' : 'JsLibraries/backbone.deep.model',
|
|
|
|
'backbone.pageable' : 'JsLibraries/backbone.pageable',
|
|
|
|
'backbone-pageable' : 'JsLibraries/backbone.pageable',
|
|
|
|
'backbone.validation' : 'Shims/backbone.validation',
|
|
|
|
'backbone.modelbinder' : 'JsLibraries/backbone.modelbinder',
|
|
|
|
'backbone.collectionview' : 'Shims/backbone.collectionview',
|
|
|
|
'backgrid' : 'Shims/backgrid',
|
|
|
|
'backgrid.paginator' : 'Shims/backgrid.paginator',
|
|
|
|
'backgrid.selectall' : 'Shims/backbone.backgrid.selectall',
|
|
|
|
'fullcalendar' : 'JsLibraries/fullcalendar',
|
|
|
|
'backstrech' : 'JsLibraries/jquery.backstretch',
|
|
|
|
'underscore' : 'JsLibraries/lodash.underscore',
|
|
|
|
'marionette' : 'Shims/backbone.marionette',
|
|
|
|
'signalR' : 'Shims/jquery.signalR',
|
|
|
|
'jquery-ui' : 'JsLibraries/jquery-ui',
|
|
|
|
'jquery.knob' : 'JsLibraries/jquery.knob',
|
|
|
|
'jquery.easypiechart' : 'JsLibraries/jquery.easypiechart',
|
|
|
|
'jquery.dotdotdot' : 'JsLibraries/jquery.dotdotdot',
|
|
|
|
'messenger' : 'Shims/messenger',
|
|
|
|
'jquery' : 'Shims/jquery',
|
|
|
|
'typeahead' : 'JsLibraries/typeahead',
|
|
|
|
'zero.clipboard' : 'JsLibraries/zero.clipboard',
|
|
|
|
'bootstrap.tagsinput' : 'JsLibraries/bootstrap.tagsinput',
|
|
|
|
'libs' : 'JsLibraries/'
|
|
|
|
}
|
2015-02-04 02:56:18 +02:00
|
|
|
},
|
|
|
|
output : {
|
2015-02-03 03:18:45 +02:00
|
|
|
filename : '_output/UI/main.js',
|
|
|
|
sourceMapFilename : '_output/UI/main.map'
|
2015-02-04 02:56:18 +02:00
|
|
|
},
|
|
|
|
module: {
|
|
|
|
//this doesn't work yet. wainting for https://github.com/spenceralger/rcloader/issues/5
|
2015-02-04 03:02:13 +02:00
|
|
|
/*preLoaders: [
|
2015-02-04 02:56:18 +02:00
|
|
|
{
|
|
|
|
test: /\.js$/, // include .js files
|
|
|
|
loader: "jshint-loader",
|
|
|
|
exclude: [/JsLibraries/,/node_modules/]
|
|
|
|
}
|
|
|
|
]
|
2015-02-04 03:02:13 +02:00
|
|
|
*/
|
2015-02-04 02:56:18 +02:00
|
|
|
}
|
2015-02-03 03:18:45 +02:00
|
|
|
};
|