@absolutejs/absolute 0.19.0-beta.16 → 0.19.0-beta.17

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/build.js CHANGED
@@ -172396,12 +172396,18 @@ var trySendMessage = (client, messageStr) => {
172396
172396
  state.activeFrameworks.add(data.framework);
172397
172397
  }
172398
172398
  break;
172399
- case "hmr-timing":
172400
- if (data.duration !== undefined) {
172399
+ case "hmr-timing": {
172400
+ const timing = data;
172401
+ if (timing.duration !== undefined) {
172401
172402
  const lastPath = state.lastHmrPath ?? "";
172402
- logHmrUpdate(lastPath, state.lastHmrFramework, data.duration);
172403
+ const breakdown = timing.serverMs !== undefined ? ` (server ${timing.serverMs}ms + fetch ${timing.fetchMs ?? 0}ms + refresh ${timing.refreshMs ?? 0}ms)` : "";
172404
+ logHmrUpdate(lastPath, state.lastHmrFramework, timing.duration);
172405
+ if (breakdown) {
172406
+ console.log(` ${breakdown}`);
172407
+ }
172403
172408
  }
172404
172409
  break;
172410
+ }
172405
172411
  }
172406
172412
  }, handleHMRMessage = (state, client, message) => {
172407
172413
  try {
@@ -203894,5 +203900,5 @@ export {
203894
203900
  build
203895
203901
  };
203896
203902
 
203897
- //# debugId=150BC8C8F3176CC564756E2164756E21
203903
+ //# debugId=265BEB7B51A31F4E64756E2164756E21
203898
203904
  //# sourceMappingURL=build.js.map