@absolutejs/absolute 0.19.0-beta.864 → 0.19.0-beta.865

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.
package/dist/index.js CHANGED
@@ -9858,14 +9858,20 @@ var ENTITY_DECORATOR_RE, buildHmrTail = (className, encodedIdLiteral) => `
9858
9858
  ]);
9859
9859
  if (!u || typeof u.default !== 'function') return;
9860
9860
  if (${className}.\u0275cmp && typeof core.\u0275\u0275replaceMetadata === 'function') {
9861
- core.\u0275\u0275replaceMetadata(
9862
- ${className},
9863
- u.default,
9864
- [core],
9865
- [],
9866
- import.meta,
9867
- __ng_hmr_id
9868
- );
9861
+ console.log('[abs-hmr] \u0275\u0275replaceMetadata for ${className}, def before:', !!${className}.\u0275cmp);
9862
+ try {
9863
+ core.\u0275\u0275replaceMetadata(
9864
+ ${className},
9865
+ u.default,
9866
+ [core],
9867
+ [],
9868
+ import.meta,
9869
+ __ng_hmr_id
9870
+ );
9871
+ console.log('[abs-hmr] \u0275\u0275replaceMetadata returned for ${className}');
9872
+ } catch (err) {
9873
+ console.error('[abs-hmr] \u0275\u0275replaceMetadata threw for ${className}:', err);
9874
+ }
9869
9875
  } else {
9870
9876
  // Non-component entity (pipe / directive / service) \u2014 no
9871
9877
  // LView tree to walk, just apply the prototype patch.
@@ -30273,5 +30279,5 @@ export {
30273
30279
  ANGULAR_INIT_TIMEOUT_MS
30274
30280
  };
30275
30281
 
30276
- //# debugId=652560154C5C43EB64756E2164756E21
30282
+ //# debugId=CF3BF3C28045CFCC64756E2164756E21
30277
30283
  //# sourceMappingURL=index.js.map