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

Always transform assetUrl into explicitly ?url imports #9

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Conversation

rtsao
Copy link
Collaborator

@rtsao rtsao commented Jul 27, 2023

Vite only treats a specific subset of file extensions as URL imports (https://vitejs.dev/config/shared-options.html#assetsinclude)

However, assetUrl() should always produce a URL

@rtsao rtsao requested a review from tajo July 27, 2023 19:43
@tajo tajo merged commit a3e098a into main Jul 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants