-
-
Notifications
You must be signed in to change notification settings - Fork 384
[email protected] dependency is not compatible with Webpack@5 out of the box #621
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
Comments
Do not use |
But no problems here, if you need to help please create reproducible test repo, we don't use |
In future please use all fields in the issue, we can't help you without this information |
@evilebottnawi Huge thanks for the remark about migration to css-minimizer! Regarding this ticket, the problem is that to use this ( |
Oh, yes, I see |
Actual Behavior
I am in the progress of upgrading my React toolset to Webpack@5. Running a compilation of some codebase I got the following error message
I did not have a chance to dig deeper into it yet, and probably update the ticket with more info in the following days, but after a very brief look I found the following:
normalize-url
: this one (on v1.9.1), andoptimize-css-assets-webpack-plugin
(on 3.3.0).normalize-url
page mentions if you need to use this in browser, use version 4+, thus I guess the latestnormalize-url
should work with Webpack@5 out of the box, with no need of fallbacks.normalize-url
: fix: downgrading normalize-url #399Taking all these into account, I decided to already create this ticket, to check if somebody arounds knows more about it: is it still needed to keep old
normalize-url
around? Is it possible to upgrade to its latest version, or drop/replace that dependency by something else?The text was updated successfully, but these errors were encountered: