import hashPaths from "../hash.js"; import { src, then, synchronise, dest } from "../rx-utils.js"; import { map } from "rxjs"; export const images = () => src("src/*.avif").pipe( then(async (file) => { file.path = file.path.substring(4); return file; }), synchronise(), hashPaths("images.manifest"), map(dest("dist/_assets")), );