@absolutejs/absolute 0.19.0-beta.108 → 0.19.0-beta.109

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
@@ -415,19 +415,9 @@ var indexContentCache, resolveDevClientDir = () => {
415
415
  `}`,
416
416
  ...isDev ? [
417
417
  `
418
- // Pre-warm the module server cache after hydration.`,
419
- `// Silently imports the page module so the browser caches`,
420
- `// all /@src/ URLs. First HMR edit hits warm cache (~20ms)`,
421
- `// instead of cold fetches (~500ms).`,
422
- `if (typeof requestIdleCallback !== 'undefined') {`,
423
- ` requestIdleCallback(() => {`,
424
- ` import('/@src/${relative(process.cwd(), resolve(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}').catch(() => {});`,
425
- ` });`,
426
- `} else {`,
427
- ` setTimeout(() => {`,
428
- ` import('/@src/${relative(process.cwd(), resolve(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}').catch(() => {});`,
429
- ` }, 1000);`,
430
- `}`
418
+ // Pre-warm: import the page module from the module server`,
419
+ `// immediately so the browser caches all /@src/ URLs.`,
420
+ `import('/@src/${relative(process.cwd(), resolve(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}').catch(() => {});`
431
421
  ] : []
432
422
  ].join(`
433
423
  `);
@@ -204923,5 +204913,5 @@ export {
204923
204913
  build
204924
204914
  };
204925
204915
 
204926
- //# debugId=1C344ED8705E021964756E2164756E21
204916
+ //# debugId=5313682BFB4A502164756E2164756E21
204927
204917
  //# sourceMappingURL=build.js.map