Today I learned to run a prebuild script that writes public/search-index.json.
Astro Build Hooks TIL
Using prebuild scripts to emit a search index.
Using prebuild scripts to emit a search index.
Today I learned to run a prebuild script that writes public/search-index.json.