Skip to content

Commit

Permalink
Run imagemin, svgmin, htmlmin, cssmin, concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 7, 2013
1 parent f9bdcc5 commit 09b43ac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,11 @@ module.exports = function (grunt) {
],
dist: [
'coffee',
'compass:dist'
'compass:dist',
'imagemin',
'svgmin',
'htmlmin',
'cssmin'
]
}<% if (includeRequireJS) { %>,
bower: {
Expand Down Expand Up @@ -330,14 +334,10 @@ module.exports = function (grunt) {

grunt.registerTask('build', [
'clean:dist',
'concurrent:dist',
'useminPrepare',<% if (includeRequireJS) { %>
'useminPrepare',
'concurrent:dist',<% if (includeRequireJS) { %>
'requirejs',<% } %>
'imagemin',
'svgmin',
'htmlmin',
'concat',
'cssmin',
'uglify',
'copy',
'rev',
Expand Down

0 comments on commit 09b43ac

Please sign in to comment.