blog/lib/tasks/images.ts

8 lines
224 B
TypeScript
Raw Normal View History

import { src, dest } from "gulp";
2024-06-21 21:03:37 +00:00
import hashPaths from "../hash.js";
2024-06-21 21:03:37 +00:00
export const images = () =>
src("src/*.avif", { encoding: false })
.pipe(hashPaths("images.manifest"))
.pipe(dest("dist/_assets/"));