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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature Request: handle ?raw suffix #5731

Open
hrueger opened this issue May 1, 2024 · 0 comments 路 May be fixed by #5732
Open

馃殌 Feature Request: handle ?raw suffix #5731

hrueger opened this issue May 1, 2024 · 0 comments 路 May be fixed by #5732
Labels
enhancement New feature or request

Comments

@hrueger
Copy link

hrueger commented May 1, 2024

Describe the solution

Vite allows for importing assets as strings. I have a monorepo and my main packages are using vite. Therefore, I always import static assets by using this technique. If I want to re-use those helper functions and import them in a worker, I get an error that no module loader is defined for that file extension (e.g. html).
It would be great if ?raw suffix was supported.

@hrueger hrueger added the enhancement New feature or request label May 1, 2024
@hrueger hrueger linked a pull request May 1, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant