-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[backend-integration] processing assets not directly used by Vite #8373
Comments
What about introducing option like And each glob could then include assets via |
Oh, I had a similar problem when I pack a mpa. I use
|
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, 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
The text was updated successfully, but these errors were encountered: