-
Notifications
You must be signed in to change notification settings - Fork 144
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
Not work only server side render #181
Comments
trying to do kinda same thing with |
I have the same issue, except I use sass. |
I ran into a similar problem, and I found a workaround for my case - maybe it'll work for other people too. TL;DR - if you're using webpack4, set the I'm no expert here by any means, but here's how I debugged this: In an old version of my project (which used webpack3 and isomorphic-style-loader 4), the output of printing those modules was an object with However, the object printed in the old build also included the non-module -> module mapping for all the css classes. I then monkey-patched the installed isomorphic-style-loader (I'm on 5.1.0) to print out This made me suspect that the issue wasn't directly with isomorphic-style-loader, but with whatever changed in Worked for me, but YMMV! |
Thanks @lfscheidegger here is my webpack.server.js file
Happy Coding : ) |
the same problem using sass-loader, css-modules and post-css loader |
Here is minimun reproduction
I only config webpack for server compile:
and get this:
I found a similar issue, but there is not a clear anwser ~
Did I missing something ?
The text was updated successfully, but these errors were encountered: