Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: SSR模式下,多输出一份和index.html完全一致的*.html文件,用于ER场景 (#11723)
* fix: dev环境构建SSR server.js时,环境判断错误导致输出的dev产物带上了hash * Update packages/preset-umi/src/features/ssr/webpack/webpack.ts Co-authored-by: chencheng (云谦) <[email protected]> * fix: dev环境构建SSR server.js时,环境判断错误导致输出的dev产物带上了hash * feature: 支持自定义SSR构建目标,默认为node,可配置为webworker以支持运行在类似Cloudflare Workers的平台 以解决 react-dom/server renderToReadableStream 不存在的问题 * feature: getManifest支持传入sourceDir表示SSR产物目录 * feature: getManifest支持传入sourceDir表示SSR产物目录 * fix: rendertoreadablestream is not a function * Revert "feature: 支持自定义SSR构建目标,默认为node,可配置为webworker以支持运行在类似Cloudflare Workers的平台" This reverts commit 5b0946a. * fix: rendertoreadablestream is not a function * Update packages/server/src/ssr.ts Co-authored-by: 咲奈Sakina <[email protected]> * Update packages/server/src/ssr.ts Co-authored-by: 咲奈Sakina <[email protected]> * fix: 还原g_getAssets * fix: 被执行时才调用getManifest(),避免在入口立即调用getManifest() * fix: 被执行时才调用getManifest(),避免在入口立即调用getManifest() * fix: 被执行时才调用getManifest(),避免在入口立即调用getManifest() * feature: SSR模式下,多输出一份和index.html完全一致的*.html文件,用于ER场景 * feature: SSR模式下,多输出一份和index.html完全一致的*.html文件,用于ER场景 --------- Co-authored-by: 奇风 <[email protected]> Co-authored-by: chencheng (云谦) <[email protected]> Co-authored-by: 咲奈Sakina <[email protected]>
- Loading branch information