Closed DimitarTachev closed 4 years ago
The code file with the hook lives inside the nativescript-dev-webpack
package (ehich has semver
dependency). So it is ok to rely on it.
It is not ok to rely on semver
inside the generated hook file. But in this case it will just execute the script form inside the ns-dev-webpack
package.
PR Checklist
What is the current behavior?
We are relying on
semver
while it could be missing in the root node_modulesWhat is the new behavior?
We are not relying on
semver