Skip to content

Commit

Permalink
Merge branch 'pr/567'
Browse files Browse the repository at this point in the history
  • Loading branch information
passy committed Feb 10, 2014
2 parents 9c45e77 + 996eff8 commit 661a6d6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion templates/common/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,16 @@ module.exports = function (grunt) {
useminPrepare: {
html: '<%%= yeoman.app %>/index.html',
options: {
dest: '<%%= yeoman.dist %>'
dest: '<%%= yeoman.dist %>',
flow: {
html: {
steps: {
js: ['concat', 'uglifyjs'],
css: ['cssmin']
},
post: {}
}
}
}
},

Expand All @@ -251,6 +260,11 @@ module.exports = function (grunt) {
},

// The following *-min tasks produce minified files in the dist folder
cssmin: {
options: {
root: '<%%= yeoman.app %>'
}
},
imagemin: {
dist: {
files: [{
Expand Down

0 comments on commit 661a6d6

Please sign in to comment.