@plasmicapp/loader-react 1.0.48 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1428,6 +1428,19 @@ var InternalPlasmicComponentLoader = /*#__PURE__*/function () {
1428
1428
  }));
1429
1429
  };
1430
1430
 
1431
+ _proto.registerContext = function registerContext(context, meta) {
1432
+ var _meta$importPath2;
1433
+
1434
+ this.substituteComponent(context, {
1435
+ name: meta.name,
1436
+ isCode: true
1437
+ }); // Import path is not used as we will use component substitution
1438
+
1439
+ host.registerContext(context, _extends({}, meta, {
1440
+ importPath: (_meta$importPath2 = meta.importPath) != null ? _meta$importPath2 : ''
1441
+ }));
1442
+ };
1443
+
1431
1444
  _proto.registerPrefetchedBundle = function registerPrefetchedBundle(bundle) {
1432
1445
  this.mergeBundle(bundle);
1433
1446
  };