import { rm } from "node:fs/promises" import path from "node:path" const root = path.join(import.meta.dir, "..", "dist") const html = await Bun.file(path.join(root, "index.html")).text() const script = html.match(/`) .replace(style[0], () => ``), ) await rm(path.join(root, "assets"), { recursive: true })