import hashPaths from "../hash.js"; import { dest, fromGlob } from "../rx-utils.js"; import { mergeMap, tap } from "rxjs"; export const images = () => fromGlob("src/*.avif") .pipe( tap((f) => (f.path = f.path.substring(4))), hashPaths("images.manifest"), ) .forEach(dest("dist/_assets"));