shadowfacts.net/lib/generate/copy.ts

8 lines
328 B
TypeScript

import { promises as fs } from "fs";
import * as util from "../util";
export default async function copy() {
util.write("favicon.ico", await fs.readFile("site/favicon.ico"));
util.write("favicon-152.png", await fs.readFile("site/favicon-152.png"));
util.write("shadowfacts.png", await fs.readFile("site/shadowfacts.png"));
}