esm-to-cjs playground

// add your ESM code here import { resolve as resolvePath, join } from "path"; import { readFileSync } from "fs"; export function read(src) { return readFileSync(join(__dirname, src), "utf8"); }
aha

Options