hard-source-webpack-plugin
hard-source-webpack-plugin copied to clipboard
Wrong version specifier for webpack dependency in package.json
In the package.json, a dependency to webpack is defined as follows:
"webpack": "^4.0.0 || ^4.0.0-beta.* || ^3.8.1 || ^3.0.0 || ^3.0.0-rc.0 || ^2.1.0 || ^1.13.1",
The range "^4.0.0-beta.*" is syntactically incorrect, there is no "*" allowed at that location. You can check that at https://semver.npmjs.com/, see https://github.com/npm/node-semver#range-grammar for the grammar spec.
I assume you want to use
"webpack": "^4.0.0 || ^4.0.0-beta.0 || ^3.8.1 || ^3.0.0 || ^3.0.0-rc.0 || ^2.1.0 || ^1.13.1"
instead.