Skip to content

Commit

Permalink
Merge pull request #34 from kevva/uglify
Browse files Browse the repository at this point in the history
Prevent the uglify task from overriding usemin
  • Loading branch information
kevva committed Mar 22, 2013
2 parents 7616dc4 + d82026f commit 7b40c2a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions app/templates/Gruntfile.js
Expand Up @@ -181,15 +181,12 @@ module.exports = function (grunt) {
}
}
},<% } else { %>
uglify: {
dist: {
files: {
'<%%= yeoman.dist %>/scripts/main.js': [
'<%%= yeoman.app %>/scripts/{,*/}*.js'
],
}
}
},<% } %>
// not enabled since usemin task does concat and uglify
// check index.html to edit your build targets
// enable this task if you prefer defining your build targets here
/*uglify: {
dist: {}
},*/<% } %>
useminPrepare: {
html: '<%%= yeoman.app %>/index.html',
options: {
Expand Down

0 comments on commit 7b40c2a

Please sign in to comment.