hard-source-webpack-plugin icon indicating copy to clipboard operation
hard-source-webpack-plugin copied to clipboard

Wrong version specifier for webpack dependency in package.json

Open jpilgrim opened this issue 7 years ago • 0 comments

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.

jpilgrim avatar Sep 26 '18 09:09 jpilgrim