mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 21:05:55 +01:00
12 lines
364 B
TypeScript
12 lines
364 B
TypeScript
import { execSync } from "child_process";
|
|
import BuildContext from "./context";
|
|
|
|
export default function buildScriptApi({ }: BuildContext) {
|
|
for (const config of [ "backend", "frontend" ]) {
|
|
execSync(`pnpm typedoc --options typedoc.${config}.json`, {
|
|
stdio: "inherit"
|
|
// * Output dir is set in typedoc.json.
|
|
});
|
|
}
|
|
}
|