Skip to content

One CSS per entry point #89

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

Closed
skosch opened this issue Apr 4, 2018 · 4 comments
Closed

One CSS per entry point #89

skosch opened this issue Apr 4, 2018 · 4 comments

Comments

@skosch
Copy link

skosch commented Apr 4, 2018

extract-text-webpack-plugin used to give me one CSS per entry point. Now if I understand correctly my only options are maximum splitting, or everything lumped together into one file as per the Readme example (which curiously gets named 0.css despite the name field).

There seems to be no documentation yet on how splitChunks: { cacheGroups ... } works, just a few scattered examples. Can I use mini-css-extract-plugin to generate exactly one css file for each entry point, named identical to the respective entry point? Or do I need to use a different plugin for that? Thank you!

@skosch
Copy link
Author

skosch commented Apr 4, 2018

Ah, never mind -- seems to be related to #23

@skosch skosch closed this as completed Apr 4, 2018
@kevindurb
Copy link

kevindurb commented Apr 13, 2018

#23 doesnt seem to address your question of one css per entry. I also want to do this, did you find a way to do this? @skosch

@skosch
Copy link
Author

skosch commented Apr 18, 2018

@kevindurb sorry about the late reply – did you get it to work? What issue are you having exactly?

@giancarlosisasi
Copy link

@skosch did you find a solution for this? 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants