-
-
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
Possible regression in 0.4.4 #337
Comments
Ok, it looks like this issue is related webpack/webpack#7088 Should cc @lfre @sokra do you have any ideas off the top of your head where to investigate next? For now we'll work around the problem by pinning to an older version of this plugin. |
@dustinsoftware problem solved in |
/cc @dustinsoftware sorry for big delay, problem still exists? Can you create minimum reproducible test repo? |
Sorry, I’ve since moved on to another co and don’t have a reliable repro for this anymore. I think we worked around the problem by pinning to an older package version. |
I can't repro this issue outside of my work's source code (which I can't share), so I understand having this fixed is a bit of a longshot. That said, I'll share as much as I can about the problem we're running into:
In #284 ,
this.id
was set to empty string in the constructor. Somehow, in one of our projects, this causesReact
to be imported asundefined
in a lazy loaded component.After using
yarn link
locally withmini-css-extract-plugin
, I can confirm that the issue did not happen before that change for us. Commenting out the initial assignment tothis.id
and rebuilding fixes the runtime issue.Our project looks something like this:
After change:
I can repro this pretty reliably locally, but I'm not sure what information I could share that would be helpful.
The text was updated successfully, but these errors were encountered: