mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
chore: more forgiving verions check hook (#8009)
This commit is contained in:

committed by
GitHub

parent
beca1c8828
commit
d6bd90fd34
@ -54,8 +54,6 @@ function getMinWebpackVersion(projectData) {
|
||||
webpackMinVer = semver.parse(webpackVer);
|
||||
} else if (semver.validRange(webpackVer)) {
|
||||
webpackMinVer = semver.minVersion(webpackVer);
|
||||
} else {
|
||||
webpackMinVer = semver.coerce(webpackVer);
|
||||
}
|
||||
|
||||
return webpackMinVer;
|
||||
|
Reference in New Issue
Block a user