copy any gif images under src/img
authorDan Allen <dan@opendevise.com>
Tue, 3 Sep 2019 22:11:16 +0000 (16:11 -0600)
committerDan Allen <dan@opendevise.com>
Tue, 3 Sep 2019 22:11:16 +0000 (16:11 -0600)
gulp.d/tasks/build.js

index ad5d034..03ca720 100644 (file)
@@ -72,7 +72,7 @@ module.exports = (src, dest, preview) => () => {
     vfs.src('css/site.css', { ...opts, sourcemaps }).pipe(postcss(postcssPlugins)),
     vfs.src('font/*.{ttf,woff*(2)}', opts),
     vfs
-      .src('img/**/*.{jpg,ico,png,svg}', opts)
+      .src('img/**/*.{gif,ico,jpg,png,svg}', opts)
       .pipe(
         imagemin([
           imagemin.gifsicle(),