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
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.inputshould accept any kind of file type, includingpng,jpg,svg, etc and treat them as assets. This is not currently possible and are generated as empty chunks.Alternative
No response
Additional context
No response
Validations