@absolutejs/absolute 0.18.9-beta.0 → 0.18.9-beta.1

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.
@@ -109,7 +109,8 @@
109
109
  "Bash(PORT=4445 TELEMETRY_OFF=1 NODE_ENV=development ABSOLUTE_CONFIG=example/absolute.config.ts timeout 15 bun --hot --no-clear-screen example/server.ts)",
110
110
  "Bash(kill %1)",
111
111
  "Bash(wait)",
112
- "Bash(xargs kill:*)"
112
+ "Bash(xargs kill:*)",
113
+ "Bash(grep -E '\"\"dev\"\"' package.json)"
113
114
  ]
114
115
  }
115
116
  }
package/dist/index.js CHANGED
@@ -203770,10 +203770,11 @@ var handleReactPageRequest = async (PageComponent, index, ...props) => {
203770
203770
  const { createElement } = await import("react");
203771
203771
  const { renderToReadableStream } = await import("react-dom/server");
203772
203772
  const element = maybeProps !== undefined ? createElement(PageComponent, maybeProps) : createElement(PageComponent);
203773
- const propsScript = maybeProps ? `window.__INITIAL_PROPS__=${JSON.stringify(maybeProps)}` : "";
203773
+ const refreshPreamble = "window.$RefreshReg$||(window.$RefreshReg$=function(){});window.$RefreshSig$||(window.$RefreshSig$=function(){return function(t){return t}});";
203774
+ const propsScript = maybeProps ? `${refreshPreamble}window.__INITIAL_PROPS__=${JSON.stringify(maybeProps)}` : refreshPreamble;
203774
203775
  const stream = await renderToReadableStream(element, {
203775
203776
  bootstrapModules: [index],
203776
- bootstrapScriptContent: propsScript || undefined,
203777
+ bootstrapScriptContent: propsScript,
203777
203778
  onError(error) {
203778
203779
  console.error("[SSR] React streaming error:", error);
203779
203780
  }
@@ -203988,5 +203989,5 @@ export {
203988
203989
  ANGULAR_INIT_TIMEOUT_MS
203989
203990
  };
203990
203991
 
203991
- //# debugId=867B1E7115D2CA0564756E2164756E21
203992
+ //# debugId=FFE333B06D57E72364756E2164756E21
203992
203993
  //# sourceMappingURL=index.js.map