-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
custom webpack config fails / how to mini-css-extract? #9807
custom webpack config fails / how to mini-css-extract? #9807
Comments
@gswirrl can you please provide environment information for your project by running |
@gswirrl |
Ok so for the record, here's how to get Gatsby to build multiple named stylesheets and use them instead of inlining the css into the head of the html. There are 3 things you need to do:
|
(so this issue can be closed :-) |
Hi
I need to reuse the css Gatsby is building and would like to output it to a separate css file. In the past I've used the mini-css-extract plugin with webpack, but adding this to Gatsby doesnt work as I'd hoped, i think because Gatsby already uses it internally. Any ideas how i can get my css output to a file?
The text was updated successfully, but these errors were encountered: