Files
oh-my-opencode/packages/web/scripts/prepare-build.mjs
T
2026-05-18 16:44:02 +09:00

11 lines
306 B
JavaScript

import { rmSync } from "node:fs"
import { execSync } from "node:child_process"
const buildCachePaths = [".next/cache/fetch-cache"]
for (const filePath of buildCachePaths) {
rmSync(filePath, { force: true, recursive: true })
}
execSync("node ./scripts/generate-docs-content.mjs", { stdio: "inherit" })