Don't build in production.

This commit is contained in:
Lance Stout 2013-09-20 13:45:24 -07:00
parent 2601de8eec
commit 96abc82f54
1 changed files with 4 additions and 5 deletions

View File

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