-
-
Notifications
You must be signed in to change notification settings - Fork 707
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
Bump webpack-cli and webpack-dev-server from v3 to v4 #10568
Bump webpack-cli and webpack-dev-server from v3 to v4 #10568
Conversation
It doesn't work :(
|
I think I solved it! A month later, webpack-cli v5 was released, but I think we need to do that separately. I wonder if dependabot will open up a PR for that after this is merged.. What should a dev test?
|
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.
Requires someone else to test on their dev environment.
Dev test failed. 🔴 The webpack-dev-server raises errors:
I didn't see it at first because there is other output afterwards but then I tested the auto-reloading after changing CSS and it raised these errors again. |
A newer version of webpack-dev-server exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.11.3 to 4.12.0. - [Release notes](https://github.com/webpack/webpack-dev-server/releases) - [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md) - [Commits](webpack/webpack-dev-server@v3.11.3...v4.12.0) --- updated-dependencies: - dependency-name: webpack-dev-server dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
I don't know why, but Dependabot decided not to: #9798 (comment) This is required for webpack-dev-server v4.
This now gets included as a dependency of webpack-cli v4. If webpack-cli had been upgraded earlier, we never would have needed to specify this.
Error was: ``` ERROR in chunk admin [entry] js/[name]-[contenthash].js Cannot use [chunkhash] or [contenthash] for chunk in 'js/[name]-[contenthash].js' (use [hash] instead) ```
I've commit a fix and rebased the branch. This one requires a strong deployment test I guess. |
de0ccda
to
bfbcdba
Compare
Great teamwork. The JS, CSS and add to cart all look good. |
I will assume no-one has any other issues and go ahead and merge :) |
@dacook just to know, did you test a deployment? Edit:
(partial) conclusion: Opening an issue, as it's not that simple... |
🤦 Oh no, sorry I didn't even though you made it very clear! I was thinking "development" test.. because it was affecting devDependencies only. I don't understand how this could have affected deployment, but it seems like this update is the cause. Thanks so much for responding to this with a fix. |
Bumps webpack-dev-server from 3.11.3 to 4.12.0.
Release notes
Sourced from webpack-dev-server's releases.
... (truncated)
Changelog
Sourced from webpack-dev-server's changelog.
... (truncated)
Commits
4ffcf2b
chore(release): 4.12.0a615d5b
chore(deps): update (#4768)87a26cf
feat: catch runtime error (#4605)b0f15ac
chore(deps-dev): bump@babel/cli
from 7.20.7 to 7.21.0 (#4745)3edafc0
chore(deps): bump ws from 8.12.0 to 8.12.1 (#4737)8afc916
chore(deps-dev): bump eslint-config-prettier from 8.6.0 to 8.7.0 (#4759)ecb2cc5
chore(deps-dev): bump eslint from 8.34.0 to 8.35.0 (#4753)becc95d
chore(deps-dev): bump webpack from 5.75.0 to 5.76.0 (#4761)7860017
chore(deps-dev): bump core-js from 3.28.0 to 3.29.0 (#4755)8817fa8
chore(deps): bump open from 8.4.1 to 8.4.2 (#4748)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)