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

Support for inlining as data uri #138

Open
ayZagen opened this issue Jan 11, 2024 · 0 comments
Open

Support for inlining as data uri #138

ayZagen opened this issue Jan 11, 2024 · 0 comments

Comments

@ayZagen
Copy link

ayZagen commented Jan 11, 2024

In readme it is described as if ?url is used the import will result in inline data uri such as data:image/svg+xml however it is not the case. Using url will print out the path of the asset.

It would be great to hava data uri support. Instead of using ?url it could be ?inline to prevent conflict with vite's internal asset resolver.

@ayZagen ayZagen changed the title Do not use default vite loader for ?url Support for inlining as data uri Jan 11, 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