Build error when using experimental.contentCollectionCache
with square brackets in file name.
#9210
Labels
experimental.contentCollectionCache
with square brackets in file name.
#9210
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Firefox
Describe the Bug
When building a site with
experimental.contentCollectionCache
, the builder will crash if there is[something]
in square brackets in file or folder name.Repro:
pnpm create astro@latest -- --template blog
experimental.contentCollectionCache
in configsrc/content/blog/first-post.md
tosrc/content/blog/first-post[test].md
pnpm build
You should get an error:
What's the expected result?
The site should build without issues
Link to Minimal Reproducible Example
https://git.t0.lv/Tc001/astro-contentCollectionCache-repro
Participation
The text was updated successfully, but these errors were encountered: