Skip to content
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

CSS Splitting #932

Open
flanamacca opened this issue Nov 16, 2017 · 1 comment
Open

CSS Splitting #932

flanamacca opened this issue Nov 16, 2017 · 1 comment

Comments

@flanamacca
Copy link

I want to have dynamic loading of CSS much like i have setup for my routes. So want to explore CSS bundle splitting.

What are some of the ways to leverage that with the use of postcss etc in this library?

My ideal scenario would be that when i split JS, i split css from that point but i know that's a bit difficult.

The other would be to break it apart by folder and have CSS under a given folder have CSS modules naming run over the top and then generate a standalone CSS.

Any ideas?

@slavab89
Copy link
Member

There is a talk about it here actually webpack-contrib/extract-text-webpack-plugin#455
You could try to use https://github.com/faceyspacey/extract-css-chunks-webpack-plugin for example

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

No branches or pull requests

3 participants