@umijs/server 4.0.0-canary.20240509.3 → 4.0.0-canary.20240509.4

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.
Files changed (2) hide show
  1. package/dist/ssr.js +1 -3
  2. package/package.json +2 -2
package/dist/ssr.js CHANGED
@@ -275,9 +275,7 @@ function createRequestHandler(opts) {
275
275
  const stream = await ReactDomServer.renderToReadableStream(
276
276
  import_react.default.createElement(JSXProvider, void 0, jsx.element),
277
277
  {
278
- // why not bootstrap umi.js?
279
- // ER will auto inject umi.js
280
- // bootstrapScripts: [jsx.manifest.assets['umi.js'] || '/umi.js'],
278
+ bootstrapScripts: [jsx.manifest.assets["umi.js"] || "/umi.js"],
281
279
  onError(x) {
282
280
  console.error(x);
283
281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/server",
3
- "version": "4.0.0-canary.20240509.3",
3
+ "version": "4.0.0-canary.20240509.4",
4
4
  "description": "@umijs/server",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/server#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -19,7 +19,7 @@
19
19
  "react": "18.1.0",
20
20
  "react-dom": "18.1.0",
21
21
  "react-router-dom": "6.3.0",
22
- "@umijs/bundler-utils": "4.0.0-canary.20240509.3"
22
+ "@umijs/bundler-utils": "4.0.0-canary.20240509.4"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"