Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"$schema": "https://openapi.vercel.sh/vercel.json",
"outputDirectory": "out",
"cleanUrls": true,
"trailingSlash": false
"trailingSlash": false,
"buildCommand": "node --run clone-webpack && node --run build"
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub Pages deploy workflow creates the out/ directory before running the doc-kit generation (mkdir out && npm run build-html). The new Vercel build command doesn’t do this; if doc-kit expects the output directory to exist, the Vercel build may fail. Consider adding mkdir -p out (or moving this into the build/build-html script) so all build paths behave consistently.

Suggested change
"buildCommand": "node --run clone-webpack && node --run build"
"buildCommand": "mkdir -p out && node --run clone-webpack && node --run build"

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The property name is "buildCommand:" (with a trailing colon), which won’t be recognized by Vercel’s config schema (expects buildCommand). As a result the custom build command will be ignored. Rename the key to buildCommand, and consider using the repo’s existing npm scripts (npm run clone-webpack && npm run build) instead of node --run ... to match CI and avoid relying on Node’s experimental --run support on Vercel.

Copilot uses AI. Check for mistakes.
}