Skip to content

Commit

Permalink
Merge pull request yeoman#96 from silvenon/useref
Browse files Browse the repository at this point in the history
Transfer useref search path to the gulpfile
  • Loading branch information
kevva committed Apr 25, 2014
2 parents 7f3b6e5 + 50b358c commit 976bf07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"gulp-ruby-sass": "^0.4.3",<% } %>
"gulp-size": "^0.3.0",
"gulp-uglify": "^0.2.1",
"gulp-useref": "^0.3.1",
"gulp-useref": "^0.4.2",
"jshint-stylish": "^0.1.5",
"opn": "^0.1.1",
"wiredep": "^1.4.3"
Expand Down
2 changes: 1 addition & 1 deletion app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ gulp.task('html', ['styles', 'scripts'], function () {
var cssFilter = $.filter('**/*.css');

return gulp.src('app/*.html')
.pipe($.useref.assets())
.pipe($.useref.assets({searchPath: '{.tmp/app}'}))
.pipe(jsFilter)
.pipe($.uglify())
.pipe(jsFilter.restore())
Expand Down
2 changes: 1 addition & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- endbower -->
<!-- endbuild -->

<!-- build:css({.tmp,app}) styles/main.css -->
<!-- build:css styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
<% if (includeModernizr) { %>
Expand Down

0 comments on commit 976bf07

Please sign in to comment.