Skip to content

Commit 9341eb9

Browse files
committed
feat(app): imagemin handles gifs
Update Gruntfile to let imagemin handle gifs
1 parent d5d3e45 commit 9341eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: templates/common/Gruntfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ module.exports = function (grunt) {
195195
files: [{
196196
expand: true,
197197
cwd: '<%%= yeoman.app %>/images',
198-
src: '{,*/}*.{png,jpg,jpeg}',
198+
src: '{,*/}*.{png,jpg,jpeg,gif}',
199199
dest: '<%%= yeoman.dist %>/images'
200200
}]
201201
}
@@ -263,7 +263,7 @@ module.exports = function (grunt) {
263263
'*.{ico,png,txt}',
264264
'.htaccess',
265265
'bower_components/**/*',
266-
'images/{,*/}*.{gif,webp}',
266+
'images/{,*/}*.{webp}',
267267
'fonts/*'
268268
]
269269
}, {

0 commit comments

Comments
 (0)