fumadocs-mdx15.6.4533 B
#!/usr/bin/env node
import { existsSync } from "node:fs";
// src/bin.ts
async function start() {
const [configPath, outDir] = process.argv.slice(2);
if (existsSync("next.config.js") || existsSync("next.config.mjs") || existsSync("next.config.mts") || existsSync("next.config.ts")) {
const { postInstall } = await import("./next/index.js");
await postInstall({
configPath,
outDir
});
} else {
const { postInstall } = await import("./vite/index.js");
await postInstall({
configPath,
outDir
});
}
}
start();
Shown as plain text from the published tarball, after apm checked it against the version's checksum. Nothing in it runs on this page.