@umijs/server 4.0.0-canary.20240509.4 → 4.0.0-canary.20240510.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.
- package/dist/ssr.js +3 -1
- package/package.json +2 -2
package/dist/ssr.js
CHANGED
|
@@ -275,7 +275,9 @@ function createRequestHandler(opts) {
|
|
|
275
275
|
const stream = await ReactDomServer.renderToReadableStream(
|
|
276
276
|
import_react.default.createElement(JSXProvider, void 0, jsx.element),
|
|
277
277
|
{
|
|
278
|
-
|
|
278
|
+
// why not bootstrap umi.js
|
|
279
|
+
// ER will auto inject
|
|
280
|
+
// bootstrapScripts: [jsx.manifest.assets['umi.js'] || '/umi.js'],
|
|
279
281
|
onError(x) {
|
|
280
282
|
console.error(x);
|
|
281
283
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/server",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20240510.1",
|
|
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.
|
|
22
|
+
"@umijs/bundler-utils": "4.0.0-canary.20240510.1"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|