Skip to content

import semver function module to avoid webpack dynamic require warning

Administrator requested to merge semver-webpack-critical-dep into master

Created by: sqs

The upgraded semver prints a warning:

index.js?21b9:135 ../node_modules/semver/index.js 4:51-64
Critical dependency: the request of a dependency is an expression

See https://github.com/npm/node-semver/issues/299#issuecomment-566337962 for the explanation for this fix.

Merge request reports

Loading