mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
Adding grunt prod task
- compiles assets for production environment
This commit is contained in:
parent
42a5e74ddb
commit
d5518c986a
@ -836,6 +836,8 @@ var path = require('path'),
|
|||||||
|
|
||||||
// TODO: Production build task that minifies with uglify:prod
|
// TODO: Production build task that minifies with uglify:prod
|
||||||
|
|
||||||
|
grunt.registerTask("prod", ['sass:admin', 'handlebars', 'concat', "uglify"]);
|
||||||
|
|
||||||
// When you just say "grunt"
|
// When you just say "grunt"
|
||||||
grunt.registerTask("default", ['sass:admin', 'handlebars', 'concat']);
|
grunt.registerTask("default", ['sass:admin', 'handlebars', 'concat']);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user