Webpack 4 is an old version of Webpack that does no longer receive support for new language feature, e.g. neither optional chaining, nor the nullish coalescent operator, nor private class fields are supported by Webpack 4.
According to my package-lock.json, this plugin has this webpack dependency:
"webpack": "^4.43.0",
Please upgrade the dependency to the latest stable version of Webpack 5.
Webpack 4 is an old version of Webpack that does no longer receive support for new language feature, e.g. neither optional chaining, nor the nullish coalescent operator, nor private class fields are supported by Webpack 4.
According to my package-lock.json, this plugin has this webpack dependency:
Please upgrade the dependency to the latest stable version of Webpack 5.