Skip to content

Commit

Permalink
Fix: Updatin icon src in site.webmanifest'
Browse files Browse the repository at this point in the history
Fix #479
  • Loading branch information
molant committed Aug 8, 2018
1 parent 45bf31e commit b5d29a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ gulp.task('useref', () => {
});

gulp.task('revfiles', () => {
return gulp.src([`${dirs.tmp}/source/**/*`, `!**/*.json`, `!**/*.yml`, `!**/sw-reg.js`])
return gulp.src([`${dirs.tmp}/source/**/*`, `!**/*.json`, `!**/*.yml`, `!**/sw-reg.js`, `!**/*.webmanifest`])
.pipe(plugins.rev())
.pipe(plugins.revDeleteOriginal())
.pipe(gulp.dest(`${dirs.tmp}/source`))
Expand Down Expand Up @@ -151,7 +151,7 @@ gulp.task('revreplace:theme', () => {
modifyUnreved: (unrevedPath) => {
return unrevedPath.replace('static/images/', 'images/');
},
replaceInExtensions: ['.hbs', '.css', '.js', '.json', '.html', '.yml']
replaceInExtensions: ['.hbs', '.css', '.js', '.json', '.html', '.yml', '.webmanifest']
}))
.pipe(gulp.dest(dirs.tmp));
});
Expand Down

0 comments on commit b5d29a9

Please sign in to comment.