Permalink
Browse files

Merge pull request #29 from passy/gif-webp

Copy webp and gif images to dist/
  • Loading branch information...
sindresorhus committed Mar 5, 2013
2 parents 81c2a7f + a850f1b commit 1fc96994f2377138c4800ea784637295a1aa680f
Showing with 3 additions and 2 deletions.
  1. +3 −2 app/templates/Gruntfile.js
@@ -41,7 +41,7 @@ module.exports = function (grunt) {
'<%%= yeoman.app %>/*.html',
'{.tmp,<%%= yeoman.app %>}/styles/{,*/}*.css',
'{.tmp,<%%= yeoman.app %>}/scripts/{,*/}*.js',
- '<%%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,webp}'
+ '<%%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp}'
],
tasks: ['livereload']
}
@@ -245,7 +245,8 @@ module.exports = function (grunt) {
dest: '<%%= yeoman.dist %>',
src: [
'*.{ico,txt}',
- '.htaccess'
+ '.htaccess',
+ 'images/{,*/}*.{webp,gif}'
]
}]
}

0 comments on commit 1fc9699

Please sign in to comment.