You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
When using dynamic import() code-splitting, ETWP creates an empty (0 byte) CSS file for the main entry point (e.g. main.css) even if no CSS was imported. Additionally, if using optimization.splitChunks.chunks: "all" to split initial chunks in addition to async, it creates an empty CSS file for vendors as well (e.g. vendors~main.css) even if no vendor (node_modules) CSS was imported. I'm assuming these two cases are the same root problem, I just don't know enough about how it works to know for sure.
Real-world use case:
I include CSS from node_modules in my entry point, which gets split into vendors~main.css as expected, but ETWP also creates an empty main.css when I don't have any local CSS imports.