diff --git a/README.md b/README.md index 3443ab4..b328351 100644 --- a/README.md +++ b/README.md @@ -165,9 +165,10 @@ Before submitting a pull request, please check the following: - All code is formatted with [Prettier](https://prettier.io/) - `yarn format` - If you use VS Code, you should enable the `formatOnSave` option. -- Using the correct webpack version +- Using the correct webpack version as a dependency - `yarn update_deps` - - NOTE: The `webpack` peerDependency is only needed to silence some annoying warnings from NPM. + - NOTE: The `webpack` dependency is needed to silence some annoying warnings from NPM. + This must always match the version from `react-scripts`. ## Releasing a new version diff --git a/package.json b/package.json index 8730b90..e112e7d 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,7 @@ }, "peerDependencies": { "@craco/craco": "^5.5.0", - "react-scripts": "^3.2.0", - "webpack": "4.41.0" + "react-scripts": "^3.2.0" }, "husky": { "hooks": {