1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-25 18:52:20 -05:00

Don't build in production.

This commit is contained in:
Lance Stout 2013-09-20 13:45:24 -07:00
parent 2601de8eec
commit 96abc82f54

View File

@ -31,14 +31,13 @@ var clientApp = new Moonboots({
stylesheets: [ stylesheets: [
__dirname + '/public/css/otalk.css' __dirname + '/public/css/otalk.css'
], ],
browserify: {
debug: false
},
server: app, server: app,
beforeBuild: function () { beforeBuild: function () {
if (config.isDev) {
var clientFolder = __dirname + '/clientapp'; var clientFolder = __dirname + '/clientapp';
templatizer(clientFolder + '/templates', clientFolder + '/templates.js'); templatizer(clientFolder + '/templates', clientFolder + '/templates.js');
} }
}
}); });
app.set('view engine', 'jade'); app.set('view engine', 'jade');