Skip to content

Commit

Permalink
output modernizr to script/vendor folder
Browse files Browse the repository at this point in the history
Fixes #249
  • Loading branch information
eddiemonge committed Jan 27, 2014
1 parent 83c101a commit 03134c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 2 additions & 0 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 03134c5

Please sign in to comment.