@absolutejs/absolute 0.18.9-beta.2 → 0.18.9

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
@@ -171348,8 +171348,12 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
171348
171348
  if (reactClientResult && !reactClientResult.success && reactClientLogs.length > 0) {
171349
171349
  extractBuildError(reactClientLogs, "react-client", "React client", frameworkNames, isIncremental, throwOnError);
171350
171350
  }
171351
- if (vendorPaths && reactClientOutputs.length > 0) {
171352
- await rewriteReactImports(reactClientOutputs.map((artifact) => artifact.path), vendorPaths);
171351
+ const reactClientOutputPaths = reactClientOutputs.map((artifact) => artifact.path);
171352
+ if (vendorPaths && reactClientOutputPaths.length > 0) {
171353
+ await rewriteReactImports(reactClientOutputPaths, vendorPaths);
171354
+ }
171355
+ if (hmr && reactClientOutputPaths.length > 0) {
171356
+ await patchRefreshGlobals(reactClientOutputPaths);
171353
171357
  }
171354
171358
  const nonReactClientLogs = nonReactClientResult?.logs ?? [];
171355
171359
  const nonReactClientOutputs = nonReactClientResult?.outputs ?? [];
@@ -204008,5 +204012,5 @@ export {
204008
204012
  ANGULAR_INIT_TIMEOUT_MS
204009
204013
  };
204010
204014
 
204011
- //# debugId=ACA94E93892A48A264756E2164756E21
204015
+ //# debugId=10F0D535EDA432F464756E2164756E21
204012
204016
  //# sourceMappingURL=index.js.map