Virtual Templates: more control over collisions between physical and virtual templates?
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
With fixing #1612, Eleventy gains the ability to produce ad-hoc, Virtual Templates that work as if they existed as physical files on the disk. Right now (if I understand correctly), Eleventy throws when a virtual template collides with an existing physical template.
This can be guarded against with file-system checks (e.g. fs.exists()
), but if Eleventy has a good idea that a physical file already exists, maybe there’s an opportunity for a more graceful API. I’m starting this issue to explore possible directions for this feature.
Describe alternatives you've considered
No response
Additional context
No response