import { join } from "node:path";
import { writeGeneratedFile } from "../typegen/write-generated-file.js";
export async function writeRouteManifestFile(rootDir, payload) {
    const filePath = join(rootDir, ".vext", "inspect", "routes.manifest.json");
    const content = `${JSON.stringify(payload, null, 2)}\n`;
    return writeGeneratedFile(filePath, content);
}
