Skip to content

Gracefully handle Vite virtual files #142

Open
@hecktarzuli

Description

@hecktarzuli

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.

This produces tons of warnings like these:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions