@absolutejs/absolute 0.19.0-beta.293 → 0.19.0-beta.295

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
@@ -203101,6 +203101,7 @@ ${content.slice(firstUseIdx)}`;
203101
203101
  define: vueDirectory ? vueFeatureFlags : undefined,
203102
203102
  entrypoints: nonReactClientEntryPoints,
203103
203103
  external: [
203104
+ ...Object.keys(vendorPaths ?? {}),
203104
203105
  ...Object.keys(angularVendorPaths2 ?? {}),
203105
203106
  ...Object.keys(vueVendorPaths2 ?? {}),
203106
203107
  ...Object.keys(svelteVendorPaths2 ?? {})
@@ -203178,9 +203179,16 @@ ${content.slice(firstUseIdx)}`;
203178
203179
  }
203179
203180
  const nonReactClientLogs = nonReactClientResult?.logs ?? [];
203180
203181
  const nonReactClientOutputs = nonReactClientResult?.outputs ?? [];
203182
+ const nonReactClientOutputPaths = nonReactClientOutputs.map((artifact) => artifact.path);
203181
203183
  const islandClientLogs = islandClientResult?.logs ?? [];
203182
203184
  const islandClientOutputs = islandClientResult?.outputs ?? [];
203183
203185
  const islandClientOutputPaths = islandClientOutputs.map((artifact) => artifact.path);
203186
+ if (vendorPaths && nonReactClientOutputPaths.length > 0) {
203187
+ await rewriteReactImports(nonReactClientOutputPaths, vendorPaths);
203188
+ }
203189
+ if (hmr && nonReactClientOutputPaths.length > 0) {
203190
+ await patchRefreshGlobals(nonReactClientOutputPaths);
203191
+ }
203184
203192
  if (vendorPaths && islandClientOutputPaths.length > 0) {
203185
203193
  await rewriteReactImports(islandClientOutputPaths, vendorPaths);
203186
203194
  }
@@ -208011,5 +208019,5 @@ export {
208011
208019
  build
208012
208020
  };
208013
208021
 
208014
- //# debugId=85FE370D781DFAE264756E2164756E21
208022
+ //# debugId=EAC020018AB1A28864756E2164756E21
208015
208023
  //# sourceMappingURL=build.js.map