Step 5 - Test the changes
Check that the static build is generated correctly before deploying
Before deploying, check that the static build is generated correctly:
pnpm buildIf the build succeeds, the out/ directory is generated with the complete static site. You can preview it locally:
pnpm dlx serve outOpen http://localhost:3000 and check that all pages, policies and navigation work correctly before continuing.
If the build fails, check that all MDX files have the correct frontmatter (title and description) and that the internal links in meta.json point to existing files.