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

Removing check that matches regex #100

Closed
wants to merge 1 commit into from

Conversation

gkatsanos
Copy link
Collaborator

@gkatsanos gkatsanos commented Apr 25, 2023

This way any non-predefined value just defaults to the defaultImport.
Returning undefined isn't really helping the user in any case and probably locks out any legacy svg imports that would like to use vite-svg-loader but cant change their query params because of backwards compatibility.

resolves #99

@gkatsanos gkatsanos closed this May 5, 2023
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

Successfully merging this pull request may close these issues.

Can we make ?component configurable?
1 participant