diff --git a/app/templates/Gruntfile.js b/app/templates/Gruntfile.js index 89a0e415..1f07d09c 100644 --- a/app/templates/Gruntfile.js +++ b/app/templates/Gruntfile.js @@ -362,7 +362,7 @@ module.exports = function (grunt) { // reference in your app modernizr: { devFile: '<%%= yeoman.app %>/bower_components/modernizr/modernizr.js', - outputFile: '<%%= yeoman.dist %>/bower_components/modernizr/modernizr.js', + outputFile: '<%%= yeoman.dist %>/scripts/vendor/modernizr.js', files: [ '<%%= yeoman.dist %>/scripts/{,*/}*.js', '<%%= yeoman.dist %>/styles/{,*/}*.css', diff --git a/app/templates/index.html b/app/templates/index.html index 7d8dd7cf..a38eee20 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -17,7 +17,9 @@ <!-- build:css(.tmp) styles/main.css --> <link rel="stylesheet" href="styles/main.css"> <!-- endbuild --><% if (includeModernizr) { %> + <!-- build:js scripts/vendor/modernizr.js --> <script src="bower_components/modernizr/modernizr.js"></script> + <!-- endbuild --> <% } %> </head> <body>