Build the final version
The strict build opens the site to search engines and stops on any broken link or empty description. The result is one folder, dist/, that holds the whole site.
heron build . --env prod --strict && ls dist
- What is inside dist/
- Every page as HTML, images in WebP and AVIF of every size, sitemap.xml, robots.txt, llms.txt, the feed, the 404 page.
- Server settings
dist/.heron-nginx.confholds the nginx config for this site, with every redirect.- Hidden files
- Names starting with a dot are hidden in Finder and Explorer;
ls -a distshows them. - If it stops
- The build names the file and the line. Fix it and run the command again. Common errors
- Takes
- About a second for a small site; a thousand pages in two languages take a few seconds.