Skip to content

Commit

Permalink
Do not recommend upgrading webpack-dev-server
Browse files Browse the repository at this point in the history
As per rails#3121

updating webpack-dev-server will result in version 4 which causes breakage that is hard to debug. Update readme to only update webpack-dev-server within version 3 to prevent developers from having to debug the issue with webpack-cli/serve
  • Loading branch information
nachiket87 committed Nov 4, 2022
1 parent 4c5d13a commit a4b7475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -303,7 +303,7 @@ You can run following commands to upgrade Webpacker to the latest stable version
bundle update webpacker
rails webpacker:binstubs
yarn upgrade @rails/webpacker --latest
yarn upgrade webpack-dev-server --latest
yarn upgrade webpack-dev-server@^3.11.2

# Or to install the latest release (including pre-releases)
yarn add @rails/webpacker@next
Expand Down

0 comments on commit a4b7475

Please sign in to comment.