You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When output type is set to server instead of hybrid or static the following is shown when building the project (and search is broken)
16:07:20 [WARN] [pagefind] Output type `server` does not produce static *.html pages in its output and thus will not work with astro-pagefind integration.
16:07:20 [WARN] [pagefind] astro-pagefind couldn't reliably determine the output directory. Search assets will not be served.
However for pages marked export const prerender=true a HTML will still be generated. Is there any specific limitation that prevents pagefind from scanning those files?
The text was updated successfully, but these errors were encountered:
This integration relies on Astro generating actual HTML files in the output directory and on output directory being in the config. That's why server mode is not generally supported. What is your use case that you need static search but can't use hybrid mode?
When output type is set to
server
instead ofhybrid
orstatic
the following is shown when building the project (and search is broken)However for pages marked
export const prerender=true
a HTML will still be generated. Is there any specific limitation that prevents pagefind from scanning those files?The text was updated successfully, but these errors were encountered: