Crawler doesn't discover /
if there is an optional parameter at the base
#11133
Labels
paths.base
bugs relating to `config.kit.paths.base`
Describe the bug
The Crawler for prerendering does not discover the
/
path, if there is an optional Parameter at the base.This is a common scenario in multi-language pages.
I would expect
/
to get crawled, and further pages to be discovered from there.The workaround is to add
/
to the entries insvelte.config.js
Reproduction
https://github.com./LorisSigrist/sk-crawler-optional-param-at-base-reproduction
Logs
Error: The following routes were marked as prerenderable, but were not prerendered because they were not found while crawling your app: - /[[lang]]
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: