Skip to content

Code-first video & image, rendered natively on WebGPU.

423 B
Raw Blame
import path from "node:path";
import { fileURLToPath } from "node:url";

const HERE = path.dirname(fileURLToPath(import.meta.url));
export const ROOT = path.resolve(HERE, "../../..");
export const ASSETS = path.resolve(HERE, "../assets");
export const OUTPUT = path.resolve(HERE, "../output");
export const asset = (file: string) => path.join(ASSETS, file);
export const output = (file: string) => path.join(OUTPUT, file);