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

Gracefully handle Vite virtual files #142

Open
hecktarzuli opened this issue Mar 19, 2024 · 0 comments
Open

Gracefully handle Vite virtual files #142

hecktarzuli opened this issue Mar 19, 2024 · 0 comments

Comments

@hecktarzuli
Copy link

hecktarzuli commented Mar 19, 2024

Vite supports virtual files like virtual:public?%2Fimages%2Fvisa.svg.
This module attempts to load these files even if the default import type is url because of the ? in the virtual filename.

For the time being it would be nice if this plugin just early-outted if the url starts with virtual:

@hecktarzuli hecktarzuli changed the title Gracefully handle virtual files Gracefully handle Vite virtual files Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant