@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/index.js CHANGED
@@ -494,19 +494,9 @@ var indexContentCache, resolveDevClientDir = () => {
494
494
  `}`,
495
495
  ...isDev ? [
496
496
  `
497
- // Pre-warm the module server cache after hydration.`,
498
- `// Silently imports the page module so the browser caches`,
499
- `// all /@src/ URLs. First HMR edit hits warm cache (~20ms)`,
500
- `// instead of cold fetches (~500ms).`,
501
- `if (typeof requestIdleCallback !== 'undefined') {`,
502
- ` requestIdleCallback(() => {`,
503
- ` import('/@src/${relative(process.cwd(), resolve2(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}').catch(() => {});`,
504
- ` });`,
505
- `} else {`,
506
- ` setTimeout(() => {`,
507
- ` import('/@src/${relative(process.cwd(), resolve2(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}').catch(() => {});`,
508
- ` }, 1000);`,
509
- `}`
497
+ // Pre-warm: import the page module from the module server`,
498
+ `// immediately so the browser caches all /@src/ URLs.`,
499
+ `import('/@src/${relative(process.cwd(), resolve2(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}').catch(() => {});`
510
500
  ] : []
511
501
  ].join(`
512
502
  `);
@@ -205340,5 +205330,5 @@ export {
205340
205330
  ANGULAR_INIT_TIMEOUT_MS
205341
205331
  };
205342
205332
 
205343
- //# debugId=1E29419E90128A2F64756E2164756E21
205333
+ //# debugId=794680ED9EC0256F64756E2164756E21
205344
205334
  //# sourceMappingURL=index.js.map