@absolutejs/absolute 0.19.0-beta.812 → 0.19.0-beta.814

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
@@ -14068,8 +14068,8 @@ ${content.slice(firstUseIdx)}`;
14068
14068
  extractBuildError(reactClientLogs, "react-client", "React client", frameworkNames, isIncremental, throwOnError);
14069
14069
  }
14070
14070
  const reactClientOutputPaths = reactClientOutputs.map((artifact) => artifact.path);
14071
- if (vendorPaths && reactClientOutputPaths.length > 0) {
14072
- await tracePhase("postprocess/react-imports", () => rewriteReactImports(reactClientOutputPaths, vendorPaths));
14071
+ if (Object.keys(reactExternalPaths).length > 0 && reactClientOutputPaths.length > 0) {
14072
+ await tracePhase("postprocess/react-imports", () => rewriteReactImports(reactClientOutputPaths, reactExternalPaths));
14073
14073
  }
14074
14074
  if (hmr && reactClientOutputPaths.length > 0) {
14075
14075
  await tracePhase("postprocess/react-refresh-globals", () => patchRefreshGlobals(reactClientOutputPaths));
@@ -14080,14 +14080,14 @@ ${content.slice(firstUseIdx)}`;
14080
14080
  const islandClientLogs = islandClientResult?.logs ?? [];
14081
14081
  const islandClientOutputs = islandClientResult?.outputs ?? [];
14082
14082
  const islandClientOutputPaths = islandClientOutputs.map((artifact) => artifact.path);
14083
- if (vendorPaths && nonReactClientOutputPaths.length > 0) {
14084
- await tracePhase("postprocess/non-react-react-imports", () => rewriteReactImports(nonReactClientOutputPaths, vendorPaths));
14083
+ if (Object.keys(nonReactExternalPaths).length > 0 && nonReactClientOutputPaths.length > 0) {
14084
+ await tracePhase("postprocess/non-react-react-imports", () => rewriteReactImports(nonReactClientOutputPaths, nonReactExternalPaths));
14085
14085
  }
14086
14086
  if (hmr && nonReactClientOutputPaths.length > 0) {
14087
14087
  await tracePhase("postprocess/non-react-refresh-globals", () => patchRefreshGlobals(nonReactClientOutputPaths));
14088
14088
  }
14089
- if (vendorPaths && islandClientOutputPaths.length > 0) {
14090
- await tracePhase("postprocess/island-react-imports", () => rewriteReactImports(islandClientOutputPaths, vendorPaths));
14089
+ if (Object.keys(nonReactExternalPaths).length > 0 && islandClientOutputPaths.length > 0) {
14090
+ await tracePhase("postprocess/island-react-imports", () => rewriteReactImports(islandClientOutputPaths, nonReactExternalPaths));
14091
14091
  }
14092
14092
  if (hmr && islandClientOutputPaths.length > 0) {
14093
14093
  await tracePhase("postprocess/island-refresh-globals", () => patchRefreshGlobals(islandClientOutputPaths));
@@ -26789,5 +26789,5 @@ export {
26789
26789
  ANGULAR_INIT_TIMEOUT_MS
26790
26790
  };
26791
26791
 
26792
- //# debugId=FC99BA502BCA36FC64756E2164756E21
26792
+ //# debugId=3460A4F5B0E0832C64756E2164756E21
26793
26793
  //# sourceMappingURL=index.js.map