Docs

Scripts

Every npm script in the template.

ScriptWhat it does
bun devStart dev server at localhost:4321 with HMR.
bun buildBuild to dist/, then run Pagefind to index.
bun previewServe dist/ locally to verify the prod build.
bun astro …Astro CLI passthrough — astro check, astro add, etc.

Environment variables#

VarDefaultEffect
PUBLIC_BASE/Subpath for all generated URLs. Set to /my-repo/ for GitHub Pages project sites.