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:
parent
2601de8eec
commit
96abc82f54
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user