Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual response namespace unification #2198

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Dec 6, 2024

At present, it's not possible to generate a virtual response whose path is in the same namespace as the real modules. Integrations like vite are allowed to keep their virtual responses in a different namespace.

But I think we can rely on other forms of metadata propagation in all supported build systems, so that whether a response is virtual doesn't need to depend solely on its path.

This would make it possible to emit virtual modules that live in the same namespace as all the real files, which would also make things like component template colocation possible to implement entirely within the core module resolver.

@ef4 ef4 added the internal label Dec 6, 2024
@mansona
Copy link
Member

mansona commented Dec 13, 2024

it looks like the addon-dev-watch windows flakey test might be fixed by #2208 🤔 it's worth reviewing (I haven't had a chance to check the code yet)

@ef4 ef4 force-pushed the unify-virtual-namespace branch from bba7c7e to df878c6 Compare December 14, 2024 05:24
@ef4 ef4 force-pushed the unify-virtual-namespace branch from df878c6 to 26979eb Compare December 14, 2024 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants