Restore swarm CultMesh publication
This commit is contained in:
parent
953e6da5ed
commit
9e163f1e19
3 changed files with 46 additions and 12 deletions
|
|
@ -2792,8 +2792,8 @@ function loadCultMeshRuntime(): { CultMesh: any; defineDocumentType: any } | nul
|
|||
for (const packageJson of candidates) {
|
||||
try {
|
||||
const requireCult = createRequire(packageJson);
|
||||
const { CultMesh } = requireCult("cultmesh-ts/dist/index.js");
|
||||
const { defineDocumentType } = requireCult("cultcache-ts/dist/index.js");
|
||||
const { CultMesh } = requireCult("cultmesh-ts");
|
||||
const { defineDocumentType } = requireCult("cultcache-ts");
|
||||
if (CultMesh && defineDocumentType) {
|
||||
return { CultMesh, defineDocumentType };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue