-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
0.6.0 reloading stylesheets is not working anymore #376
Comments
Are you sure you are in right repo? Since |
Please create minimum reproducible test repo |
Yes, I think the problem is, by supporting HMR of styles, issues like the "conflict" will cause styles not to render. Yes, I will. It's hard to create repro that causes conflicting styles. Figuring out how to do it. |
/cc @ScriptedAlchemy |
Yeah please create a repo so we can debug this. It's very hard to debug issues without an example of the problem :) |
Awesome, I’ve got an event this evening but will dig into the problem this weekend |
Okay on my phone I quickly had a look, did HMR work previously via next? If so then there might be some conflict between how they HMR and how we do. Okay after looking into next css, plugin https://github.com/zeit/next-plugins/blob/master/packages/next-css/css-loader-config.js It appears it might be using my extract css chunks plugin under the hood. I’ll likely need to touch base with the authors and open PRs on that side. Will keep you posted |
@birkir can you test again with |
/cc @ScriptedAlchemy friendly ping |
Thanks, For the ping! Will set a reminder to check this |
Still the same issue. I traced it to this issue as well: sheerun/extracted-loader#11 I am not sure which one is at fault or if it is a cause of multiple packages not working together. |
Unfortunately, we cannot solve this problem on our side, |
Hey, took me a while to figure out what was causing this.
I have the following stack
The following config:
The Problem
The project is reporting in the chrome console (and this is normal and hasn't caused any issues before)
BUT
Looks like the styles are not injected into the head
Solution
When I downgraded to 0.5.0 I get the same flash of some unstyled components on route change and the following message from webpack:
Following by a correct CSS render.
I will attempt to make a repro with vanilla webpack setup, but until then, this issue can serve as a placeholder.
The text was updated successfully, but these errors were encountered: