Skip to content

Commit c0aecfb

Browse files
committed
Added compress demo images task
1 parent 2894aad commit c0aecfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gulpfile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ const connectServer = () =>
5858
livereload: true,
5959
});
6060

61+
export const compressDemoImages = () =>
62+
gulp.src("demo/*.png").pipe(imageMinifier()).pipe(gulp.dest("demo/"));
63+
6164
export default gulp.parallel(
6265
watchHTML,
6366
watchCSS,

0 commit comments

Comments
 (0)