Checks for differences between the installed versions of dependencies and the versions specified in package.json
npm i -D version-mismatch-webpack-plugin
yarn add -D version-mismatch-webpack-plugin
webpack.config.js
const VersionMismatchWebpackPlugin = require('version-mismatch-webpack-plugin')
module.exports = {
// ...
plugins: [
new VersionMismatchWebpackPlugin()
]
};