-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Update desired webpack version in peerDeps #4494
Conversation
Actually, maybe this isn't so simple 🤔 @kamilogorek Next.js bundles webpack. Should I install webpack deps anyways? If not, I'm guessing we can just remove the |
Yes, we still do need webpack to be installed, as the change you linked is only 4mo old, where we need to support previous versions as well. |
I guess I'm confused. Isn't |
Yes, but only since 4 months ago. It wasn't previously. |
Understood. So then this is just tricky to represent correctly with the dependency fields in All this being said, is the change in this PR not desired? It seems like things should still work out fine. You're requiring some correct version of Webpack here - and one that won't conflict with source code nor consumer's dependency mgmt. |
The thing is that this change does basically nothing 😅 Our minimum required version for types is |
It does something important actually. For edit: I see you pointed out |
Possibly addressed by #4634? |
Possibly. I worry that |
@belgattitude goes into some detail about support here getsentry/sentry-webpack-plugin#354 (comment) I think we are going to give this a try, and if it still causes issues we can come back and re-evaluate. Release should be out early next week with the Sorry for the back and forth and long delays @kylemh, appreciate the help! |
All y'all responded super quickly! I'll close this one then. |
Was receiving errors about missing
peerDependencies
when installing. Saw #3868 and figured Webpack 5 works just fine!