-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Generate separate CSS file for each chunk(not only initial chunk)? #1758
Comments
I'm asking this is because if I put assets path in CSS, and this CSS is loaded by chunk, then Chrome can not resolve this path correctly. When I right click the background URL path in the Dev tool, the full URL is |
I'm interested in this, too. However, we'd also need a way to corroborate a route to a css chunk, otherwise you won't know what css chunk to ask for on a given route. |
Possible but pretty difficult, because chunk loading need to load css too and wait for loading... |
just to make sure I understand...you're saying the problem is making sure that |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
Is it possible to generate separate CSS file for each chunk?
new ExtractTextPlugin('[name].css')
can only generate CSS file for entry chunks(initial chunks), if I add parameter{allChunks: true}
, it will output CSS in other chunks in the initial chunks also. Is there a way to exclude CSS in non-initial chunks and output them in separate file?The text was updated successfully, but these errors were encountered: