Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When trying to upgrade a Rails app from webpacker 5 to 6 (still in beta but bear with me), I got the following error when launching webpack-dev-server:
It turns out I had to upgrade to webpack 5.x which provokes this error. If I understand the webpacker
README correctly, webpack 5.x is already supposed to be supported in webpacker 5. Unclear to me if
it's the default or if people tend to stick with webpack 4.x at this point.
Imo the change looks safe, but we may want to upgrade to webpack 5 in the test application to be sure.
I tried to do so but got cryptic JS errors, and I'm unsure if you want to support both webpack 4.x and
webpack 5.x in this project. I'm ready to try shaving this yak but I'll happily take your opinion
before doing so ;-)
Thanks!