allow lazy loading of special packages
This commit is contained in:
parent
b91e1dcade
commit
c6a2fb375c
|
@ -1087,6 +1087,12 @@ public class NpmPackage {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Utilities.existsInList(name(), "fhir.test.data.r2", "fhir.test.data.r3", "fhir.test.data.r4", "fhir.tx.support.r2", "fhir.tx.support.r3", "fhir.tx.support.r4", "us.nlm.vsac")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (JSONUtil.bool(npm, "lazy-load")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (!hasFile("other", "spec.internals")) {
|
if (!hasFile("other", "spec.internals")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue