-
Notifications
You must be signed in to change notification settings - Fork 12k
fix(@ngtools/webpack): add Webpack 5 to peer dependencies #18847
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
Conversation
e99fc4d
to
6d8d63d
Compare
@@ -28,7 +28,7 @@ | |||
"peerDependencies": { | |||
"@angular/compiler-cli": "^11.0.0 || ^11.0.0-next", | |||
"typescript": ">=3.9 < 4.1", | |||
"webpack": "^4.0.0" | |||
"webpack": "^4.0.0 || ^5.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Webpack version 5 is not yet stable thus the semver version here is invalid. It should be ^5.0.0-rc.0
.
Chiming in @clydin just to confirm whether we should add this peerDependencies
in the first place since Webpack 5 support is still experimental, and adding Webpack 5 might send out the wrong message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PS: chore
is an invalid commit message type. You can use fix
for this.
fix(@ngtools/webpack): add Webpack 5 to peer dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, just made it the same way as it appears in all other occurrences. I can change those to rc.0 too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all comments applied
6d8d63d
to
665e999
Compare
665e999
to
878ebc1
Compare
Thank you for the contribution. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Very minor addition to #18820
adding optional webpack@5 to peer dependencies of ngtools/webpack