the options object (INOUT parameter)
the option name in case packageVersionRequirement
evaluates to true
(if null
and the version is matching, then the option will be omitted)
the option name in case packageVersionRequirement
evaluates to false
(if null
and the version is not matching, then the option will be omitted)
the option value
the option-name to use, in case the version could not be determined (i.e. true
for optionNameIfTrue
, false
for optionNameIfFalse
)
the package ID, e.g. "worker-loader"
the requirement for the package version (according to sem-ver.satisfy()
), e.g. ">= 3.0.0"
the options
Generated using TypeDoc
HELPER for setting option-values to different option-names, depending on the package version