Skip to content

Commit

Permalink
grunt-modernizr changed its syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Apr 6, 2014
1 parent 4471693 commit 5e679d9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,14 +388,18 @@ module.exports = function (grunt) {
// Generates a custom Modernizr build that includes only the tests you
// reference in your app
modernizr: {
devFile: 'bower_components/modernizr/modernizr.js',
outputFile: '<%%= config.dist %>/scripts/vendor/modernizr.js',
files: [
'<%%= config.dist %>/scripts/{,*/}*.js',
'<%%= config.dist %>/styles/{,*/}*.css',
'!<%%= config.dist %>/scripts/vendor/*'
],
uglify: true
dist: {
devFile: 'bower_components/modernizr/modernizr.js',
outputFile: '<%%= config.dist %>/scripts/vendor/modernizr.js',
files: {
src: [
'<%%= config.dist %>/scripts/{,*/}*.js',
'<%%= config.dist %>/styles/{,*/}*.css',
'!<%%= config.dist %>/scripts/vendor/*'
]
},
uglify: true
}
},<% } %>

// Run some tasks in parallel to speed up build process
Expand Down

0 comments on commit 5e679d9

Please sign in to comment.