Layout groups causing import.meta.glob to fail to find files #6239
Labels
bug
Something isn't working
p1-important
SvelteKit cannot be used by a large number of people, basic functionality is missing, etc.
vite
Milestone
Describe the bug
This code does not returning anything when inside a layout group:
In the repro, I made two routes that do the exact same thing...
(web)/blog/posts.json/+server.js
/it-works/blog/posts.json/+server.js
But it only works outside of the
(web)
layout group. 🤔Reproduction
https://github.com/hyyyper/sveltekit-glob-repro
Logs
(web) glob... {} /it-works glob... { '../sample-post/+page.md': [Function: ../sample-post/+page.md] }
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: