-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Description
Clear and concise description of the problem
If static assets are referenced in templates on backend (.twig, .blade, .latte, etc.), Vite will not process them and they are not included in manifest file.
A way how to get around that is described here #2375 (comment)
Suggested solution
rollupOptions.input should accept any kind of file type, including png, jpg, svg, etc and treat them as assets. This is not currently possible and are generated as empty chunks.
Generated an empty chunk: "fragment.svg"
Generated an empty chunk: "icon.png"
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable