Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: metadata and hydrate root mismatched between csr and ssr #12220

Merged
merged 15 commits into from
Apr 1, 2024

Conversation

Jinbao1001
Copy link
Member

@Jinbao1001 Jinbao1001 commented Mar 20, 2024

  1. srr server 与client 根节点水合 fix(ssr): render same root in server #12002
  2. ssr支持用户head body配置项

Summary by CodeRabbit

  • New Features
    • Enhanced server-side rendering (SSR) configuration with custom title, scripts, styles, metas, links, and headScripts.
    • Introduced hydrateFromHtml property for improved HTML hydration support in SSR.
    • Added a Html React component to dynamically generate HTML structure with metadata, links, styles, scripts, and children content.
    • Support for loading external resources like stylesheets and scripts dynamically in the Html component.
  • Refactor
    • Refactored server-side rendering to conditionally render the Html component based on hydrateFromHtml.
    • Updated the getClientRootComponent function to accept new options for improved flexibility.
  • Chores
    • Minor cleanup in server code by removing an unnecessary line.

@Jinbao1001 Jinbao1001 requested a review from PeachScript March 20, 2024 07:04
Copy link

vercel bot commented Mar 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
umi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 6:51am

Copy link

github-actions bot commented Mar 20, 2024

Size Change: +1.86 kB (0%)

Total Size: 9.9 MB

Filename Size Change
./packages/preset-umi/dist/commands/dev/getBabelOpts.js 1.16 kB +4 B (0%)
./packages/preset-umi/dist/features/ssr/ssr.js 2.74 kB +19 B (+1%)
./packages/preset-umi/dist/features/tmpFiles/tmpFiles.js 5.82 kB +155 B (+3%)
./packages/renderer-react/dist/browser.d.ts 1.16 kB +68 B (+6%) 🔍
./packages/renderer-react/dist/browser.js 3.09 kB +63 B (+2%)
./packages/renderer-react/dist/server.d.ts 128 B -142 B (-53%) 🏆
./packages/renderer-react/dist/server.js 879 B -629 B (-42%) 🎉
./packages/renderer-react/dist/types.d.ts 579 B +209 B (+56%) 🆘
./packages/server/dist/ssr.d.ts 735 B +33 B (+5%) 🔍
./packages/server/dist/ssr.js 3.91 kB +52 B (+1%)
./packages/server/dist/types.d.ts 601 B +221 B (+58%) 🆘
./packages/renderer-react/dist/html.d.ts 172 B +172 B (new file) 🆕
./packages/renderer-react/dist/html.js 1.63 kB +1.63 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size
./packages/ast/dist/getASTByFilePath/getASTByFilePath.d.ts 133 B
./packages/ast/dist/getASTByFilePath/getASTByFilePath.js 629 B
./packages/ast/dist/getExportProps/getExportProps.d.ts 80 B
./packages/ast/dist/getExportProps/getExportProps.js 1.3 kB
./packages/ast/dist/getExportProps/propertyResolver.d.ts 364 B
./packages/ast/dist/getExportProps/propertyResolver.js 1.49 kB
./packages/ast/dist/index.d.ts 159 B
./packages/ast/dist/index.js 655 B
./packages/ast/dist/isReactComponent/isReactComponent.d.ts 84 B
./packages/ast/dist/isReactComponent/isReactComponent.js 891 B
./packages/ast/dist/removeConfigByName/removeConfigByName.d.ts 140 B
./packages/ast/dist/removeConfigByName/removeConfigByName.js 885 B
./packages/ast/dist/setConfigByName/setConfigByName.d.ts 176 B
./packages/ast/dist/setConfigByName/setConfigByName.js 1.32 kB
./packages/ast/dist/utils/generate.d.ts 122 B
./packages/ast/dist/utils/generate.js 826 B
./packages/ast/dist/utils/parse.d.ts 180 B
./packages/ast/dist/utils/parse.js 1 kB
./packages/babel-preset-umi/dist/index.d.ts 258 B
./packages/babel-preset-umi/dist/index.js 2.46 kB
./packages/babel-preset-umi/dist/plugins/autoCSSModules.d.ts 191 B
./packages/babel-preset-umi/dist/plugins/autoCSSModules.js 1.07 kB
./packages/babel-preset-umi/dist/plugins/dynamicImportNode.d.ts 133 B
./packages/babel-preset-umi/dist/plugins/dynamicImportNode.js 1.23 kB
./packages/babel-preset-umi/dist/plugins/lockCoreJS.d.ts 81 B
./packages/babel-preset-umi/dist/plugins/lockCoreJS.js 971 B
./packages/babel-preset-umi/dist/plugins/stripExports.d.ts 133 B
./packages/babel-preset-umi/dist/plugins/stripExports.js 1.28 kB
./packages/bundler-esbuild/dist/build.d.ts 352 B
./packages/bundler-esbuild/dist/build.js 1.48 kB
./packages/bundler-esbuild/dist/cli.d.ts 31 B
./packages/bundler-esbuild/dist/cli.js 1.12 kB
./packages/bundler-esbuild/dist/index.d.ts 45 B
./packages/bundler-esbuild/dist/index.js 494 B
./packages/bundler-esbuild/dist/plugins/__sample.d.ts 114 B
./packages/bundler-esbuild/dist/plugins/__sample.js 510 B
./packages/bundler-esbuild/dist/plugins/alias.d.ts 146 B
./packages/bundler-esbuild/dist/plugins/alias.js 1.29 kB
./packages/bundler-esbuild/dist/plugins/externals.d.ts 146 B
./packages/bundler-esbuild/dist/plugins/externals.js 652 B
./packages/bundler-esbuild/dist/plugins/less-plugin-alias/index.d.ts 174 B
./packages/bundler-esbuild/dist/plugins/less-plugin-alias/index.js 1.02 kB
./packages/bundler-esbuild/dist/plugins/less-plugin-alias/types.d.ts 87 B
./packages/bundler-esbuild/dist/plugins/less-plugin-alias/types.js 391 B
./packages/bundler-esbuild/dist/plugins/less-plugin-alias/utils.d.ts 112 B
./packages/bundler-esbuild/dist/plugins/less-plugin-alias/utils.js 909 B
./packages/bundler-esbuild/dist/plugins/less.d.ts 260 B
./packages/bundler-esbuild/dist/plugins/less.js 2.29 kB
./packages/bundler-esbuild/dist/plugins/nodeGlobalsPolyfill.d.ts 124 B
./packages/bundler-esbuild/dist/plugins/nodeGlobalsPolyfill.js 584 B
./packages/bundler-esbuild/dist/plugins/style.d.ts 273 B
./packages/bundler-esbuild/dist/plugins/style.js 1.82 kB
./packages/bundler-esbuild/dist/plugins/watchRebuild.d.ts 190 B
./packages/bundler-esbuild/dist/plugins/watchRebuild.js 931 B
./packages/bundler-esbuild/dist/types.d.ts 572 B
./packages/bundler-esbuild/dist/types.js 601 B
./packages/bundler-esbuild/dist/utils/getBrowserlist.d.ts 109 B
./packages/bundler-esbuild/dist/utils/getBrowserlist.js 558 B
./packages/bundler-esbuild/dist/utils/postcssProcess.d.ts 141 B
./packages/bundler-esbuild/dist/utils/postcssProcess.js 980 B
./packages/bundler-esbuild/dist/utils/sortByAffix.d.ts 91 B
./packages/bundler-esbuild/dist/utils/sortByAffix.js 561 B
./packages/bundler-utils/compiled/@babel/code-frame/index.d.ts 737 B
./packages/bundler-utils/compiled/@babel/core/index.d.ts 7.82 kB
./packages/bundler-utils/compiled/@babel/generator/index.d.ts 2.59 kB
./packages/bundler-utils/compiled/@babel/parser/typings/babel-parser.d.ts 2.24 kB
./packages/bundler-utils/compiled/@babel/template/index.d.ts 1.25 kB
./packages/bundler-utils/compiled/@babel/traverse/index.d.ts 9.64 kB
./packages/bundler-utils/compiled/@babel/types/lib/index-legacy.d.ts 18.9 kB
./packages/bundler-utils/compiled/babel/code-frame.d.ts 78 B
./packages/bundler-utils/compiled/babel/code-frame.js 64 B
./packages/bundler-utils/compiled/babel/core.d.ts 72 B
./packages/bundler-utils/compiled/babel/core.js 57 B
./packages/bundler-utils/compiled/babel/generator.d.ts 77 B
./packages/bundler-utils/compiled/babel/generator.js 64 B
./packages/bundler-utils/compiled/babel/helper-module-imports.d.ts 86 B
./packages/bundler-utils/compiled/babel/helper-module-imports.js 68 B
./packages/bundler-utils/compiled/babel/index.js 686 kB
./packages/bundler-utils/compiled/babel/index1.js 631 B
./packages/bundler-utils/compiled/babel/parser.d.ts 74 B
./packages/bundler-utils/compiled/babel/parser.js 61 B
./packages/bundler-utils/compiled/babel/plugin-proposal-class-properties.js 81 B
./packages/bundler-utils/compiled/babel/plugin-proposal-decorators.js 79 B
./packages/bundler-utils/compiled/babel/plugin-proposal-do-expressions.js 82 B
./packages/bundler-utils/compiled/babel/plugin-proposal-export-default-from.js 83 B
./packages/bundler-utils/compiled/babel/plugin-proposal-export-namespace-from.js 85 B
./packages/bundler-utils/compiled/babel/plugin-proposal-function-bind.js 81 B
./packages/bundler-utils/compiled/babel/plugin-proposal-partial-application.js 87 B
./packages/bundler-utils/compiled/babel/plugin-proposal-pipeline-operator.js 85 B
./packages/bundler-utils/compiled/babel/plugin-proposal-private-methods.js 83 B
./packages/bundler-utils/compiled/babel/plugin-proposal-private-property-in-object.js 89 B
./packages/bundler-utils/compiled/babel/plugin-proposal-record-and-tuple.js 83 B
./packages/bundler-utils/compiled/babel/plugin-transform-class-properties.js 81 B
./packages/bundler-utils/compiled/babel/plugin-transform-export-namespace-from.js 85 B
./packages/bundler-utils/compiled/babel/plugin-transform-private-methods.js 83 B
./packages/bundler-utils/compiled/babel/plugin-transform-private-property-in-object copy.js 89 B
./packages/bundler-utils/compiled/babel/plugin-transform-runtime.js 77 B
./packages/bundler-utils/compiled/babel/preset-env.js 64 B
./packages/bundler-utils/compiled/babel/preset-react.js 66 B
./packages/bundler-utils/compiled/babel/preset-typescript.js 71 B
./packages/bundler-utils/compiled/babel/register.js 63 B
./packages/bundler-utils/compiled/babel/source-map-support.js 6.38 kB
./packages/bundler-utils/compiled/babel/template.d.ts 76 B
./packages/bundler-utils/compiled/babel/template.js 63 B
./packages/bundler-utils/compiled/babel/traverse.d.ts 76 B
./packages/bundler-utils/compiled/babel/traverse.js 63 B
./packages/bundler-utils/compiled/babel/types.d.ts 53 B
./packages/bundler-utils/compiled/babel/types.js 60 B
./packages/bundler-utils/compiled/cjs-module-lexer/index.js 8.46 kB
./packages/bundler-utils/compiled/cjs-module-lexer/lexer.d.ts 136 B
./packages/bundler-utils/compiled/es-module-lexer/index.js 5.13 kB
./packages/bundler-utils/compiled/es-module-lexer/types/lexer.d.ts 775 B
./packages/bundler-utils/compiled/esbuild/index.d.ts 45 B
./packages/bundler-utils/compiled/esbuild/index.js 219 B
./packages/bundler-utils/compiled/express/body-parser/index.d.ts 1.44 kB
./packages/bundler-utils/compiled/express/connect/index.d.ts 1.15 kB
./packages/bundler-utils/compiled/express/express-serve-static-core/index.d.ts 10.2 kB
./packages/bundler-utils/compiled/express/index.d.ts 1.24 kB
./packages/bundler-utils/compiled/express/index.js 247 kB
./packages/bundler-utils/compiled/express/mime/index.d.ts 306 B
./packages/bundler-utils/compiled/express/mime/Mime.d.ts 191 B
./packages/bundler-utils/compiled/express/qs/index.d.ts 893 B
./packages/bundler-utils/compiled/express/range-parser/index.d.ts 598 B
./packages/bundler-utils/compiled/express/serve-static/index.d.ts 1.73 kB
./packages/bundler-utils/compiled/http-proxy-middleware/dist/index.d.ts 167 B
./packages/bundler-utils/compiled/http-proxy-middleware/dist/types.d.ts 892 B
./packages/bundler-utils/compiled/http-proxy-middleware/http-proxy/index.d.ts 2.32 kB
./packages/bundler-utils/compiled/http-proxy-middleware/index.js 25.8 kB
./packages/bundler-utils/compiled/less/index.d.ts 2.75 kB
./packages/bundler-utils/compiled/less/index.js 259 kB
./packages/bundler-utils/compiled/tapable/index.js 4.56 kB
./packages/bundler-utils/compiled/tapable/tapable.d.ts 1.09 kB
./packages/bundler-utils/dist/https.d.ts 238 B
./packages/bundler-utils/dist/https.js 1.62 kB
./packages/bundler-utils/dist/index.d.ts 323 B
./packages/bundler-utils/dist/index.js 1.45 kB
./packages/bundler-utils/dist/proxy.d.ts 159 B
./packages/bundler-utils/dist/proxy.js 1.31 kB
./packages/bundler-utils/dist/types.d.ts 293 B
./packages/bundler-utils/dist/types.js 374 B
./packages/bundler-vite/compiled/@vitejs/plugin-legacy/569.index.cjs.js 344 B
./packages/bundler-vite/compiled/@vitejs/plugin-legacy/866.index.cjs.js 376 kB
./packages/bundler-vite/compiled/@vitejs/plugin-legacy/dist/index.d.ts 374 B
./packages/bundler-vite/compiled/@vitejs/plugin-legacy/index.js 30.1 kB
./packages/bundler-vite/compiled/caniuse-lite/index.d.ts 1.31 kB
./packages/bundler-vite/compiled/caniuse-lite/index.js 67.3 kB
./packages/bundler-vite/compiled/esbuild.d.ts 74 B
./packages/bundler-vite/compiled/fs-extra.d.ts 67 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.scandir/out/adapters/fs.d.ts 359 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.scandir/out/index.d.ts 324 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.scandir/out/providers/async.d.ts 231 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.scandir/out/settings.d.ts 310 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.scandir/out/types/index.d.ts 259 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.stat/out/adapters/fs.d.ts 310 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.stat/out/index.d.ts 307 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.stat/out/providers/async.d.ts 176 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.stat/out/settings.d.ts 249 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.stat/out/types/index.d.ts 130 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.walk/out/index.d.ts 369 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.walk/out/providers/async.d.ts 254 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.walk/out/readers/async.d.ts 429 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.walk/out/readers/reader.d.ts 141 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.walk/out/settings.d.ts 443 B
./packages/bundler-vite/compiled/rollup-plugin-copy/@nodelib/fs.walk/out/types/index.d.ts 186 B
./packages/bundler-vite/compiled/rollup-plugin-copy/fast-glob/out/index.d.ts 483 B
./packages/bundler-vite/compiled/rollup-plugin-copy/fast-glob/out/managers/tasks.d.ts 437 B
./packages/bundler-vite/compiled/rollup-plugin-copy/fast-glob/out/settings.d.ts 1.26 kB
./packages/bundler-vite/compiled/rollup-plugin-copy/fast-glob/out/types/index.d.ts 414 B
./packages/bundler-vite/compiled/rollup-plugin-copy/glob/index.d.ts 902 B
./packages/bundler-vite/compiled/rollup-plugin-copy/globby/index.d.ts 1.7 kB
./packages/bundler-vite/compiled/rollup-plugin-copy/index.d.ts 556 B
./packages/bundler-vite/compiled/rollup-plugin-copy/index.js 29.6 kB
./packages/bundler-vite/compiled/rollup-plugin-copy/minimatch/index.d.ts 1.58 kB
./packages/bundler-vite/compiled/rollup-plugin-copy/rollup/dist/rollup.d.ts 6.22 kB
./packages/bundler-vite/compiled/vite/index.d.ts 42 B
./packages/bundler-vite/compiled/vite/index.js 215 B
./packages/bundler-vite/dist/build.d.ts 254 B
./packages/bundler-vite/dist/build.js 1.78 kB
./packages/bundler-vite/dist/cli.d.ts 31 B
./packages/bundler-vite/dist/cli.js 1.16 kB
./packages/bundler-vite/dist/config/config.d.ts 258 B
./packages/bundler-vite/dist/config/config.js 975 B
./packages/bundler-vite/dist/config/transformer/alias.d.ts 134 B
./packages/bundler-vite/dist/config/transformer/alias.js 980 B
./packages/bundler-vite/dist/config/transformer/css.d.ts 272 B
./packages/bundler-vite/dist/config/transformer/css.js 952 B
./packages/bundler-vite/dist/config/transformer/define.d.ts 134 B
./packages/bundler-vite/dist/config/transformer/define.js 545 B
./packages/bundler-vite/dist/config/transformer/index.d.ts 232 B
./packages/bundler-vite/dist/config/transformer/index.js 952 B
./packages/bundler-vite/dist/config/transformer/merge.d.ts 124 B
./packages/bundler-vite/dist/config/transformer/merge.js 486 B
./packages/bundler-vite/dist/config/transformer/optimizeDeps.d.ts 141 B
./packages/bundler-vite/dist/config/transformer/optimizeDeps.js 623 B
./packages/bundler-vite/dist/config/transformer/react.d.ts 148 B
./packages/bundler-vite/dist/config/transformer/react.js 953 B
./packages/bundler-vite/dist/config/transformer/rename.d.ts 153 B
./packages/bundler-vite/dist/config/transformer/rename.js 783 B
./packages/bundler-vite/dist/config/transformer/rollup.d.ts 181 B
./packages/bundler-vite/dist/config/transformer/rollup.js 1.35 kB
./packages/bundler-vite/dist/config/transformer/target.d.ts 139 B
./packages/bundler-vite/dist/config/transformer/target.js 1.27 kB
./packages/bundler-vite/dist/dev.d.ts 281 B
./packages/bundler-vite/dist/dev.js 760 B
./packages/bundler-vite/dist/index.d.ts 53 B
./packages/bundler-vite/dist/index.js 505 B
./packages/bundler-vite/dist/plugins/autoCSSModule.d.ts 162 B
./packages/bundler-vite/dist/plugins/autoCSSModule.js 657 B
./packages/bundler-vite/dist/plugins/deleteOutputFiles.d.ts 261 B
./packages/bundler-vite/dist/plugins/deleteOutputFiles.js 634 B
./packages/bundler-vite/dist/plugins/externals.d.ts 192 B
./packages/bundler-vite/dist/plugins/externals.js 548 B
./packages/bundler-vite/dist/plugins/index.d.ts 163 B
./packages/bundler-vite/dist/plugins/index.js 823 B
./packages/bundler-vite/dist/plugins/svgr.d.ts 305 B
./packages/bundler-vite/dist/plugins/svgr.js 1.09 kB
./packages/bundler-vite/dist/requireHook.d.ts 31 B
./packages/bundler-vite/dist/requireHook.js 264 B
./packages/bundler-vite/dist/schema.d.ts 137 B
./packages/bundler-vite/dist/schema.js 910 B
./packages/bundler-vite/dist/server/plugins/onHotUpdate.d.ts 163 B
./packages/bundler-vite/dist/server/plugins/onHotUpdate.js 535 B
./packages/bundler-vite/dist/server/server.d.ts 479 B
./packages/bundler-vite/dist/server/server.js 1.84 kB
./packages/bundler-vite/dist/types.d.ts 596 B
./packages/bundler-vite/dist/types.js 609 B
./packages/bundler-webpack/compiled/autoprefixer/browserslist/index.d.ts 1.53 kB
./packages/bundler-webpack/compiled/autoprefixer/index.js 104 kB
./packages/bundler-webpack/compiled/autoprefixer/lib/autoprefixer.d.ts 892 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/at-rule.d.ts 988 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/comment.d.ts 611 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/container.d.ts 2.82 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/css-syntax-error.d.ts 1.69 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/declaration.d.ts 1.04 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/document.d.ts 720 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/input.d.ts 1.11 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/lazy-result.d.ts 1.15 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/list.d.ts 448 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/no-work-result.d.ts 588 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/node.d.ts 3.74 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/postcss.d.ts 2.97 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/previous-map.d.ts 710 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/processor.d.ts 1.15 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/result.d.ts 1.45 kB
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/root.d.ts 803 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/rule.d.ts 901 B
./packages/bundler-webpack/compiled/autoprefixer/postcss/lib/warning.d.ts 815 B
./packages/bundler-webpack/compiled/autoprefixer/source-map-js/source-map.d.ts 915 B
./packages/bundler-webpack/compiled/babel-loader/index.js 61.1 kB
./packages/bundler-webpack/compiled/compression/index.js 28.5 kB
./packages/bundler-webpack/compiled/connect-history-api-fallback/index.js 978 B
./packages/bundler-webpack/compiled/copy-webpack-plugin/939.index.js 9.01 kB
./packages/bundler-webpack/compiled/copy-webpack-plugin/index.js 81.8 kB
./packages/bundler-webpack/compiled/css-minimizer-webpack-plugin/index.js 59.5 kB
./packages/bundler-webpack/compiled/css-minimizer-webpack-plugin/minify.js 892 B
./packages/bundler-webpack/compiled/css-minimizer-webpack-plugin/utils.js 2.91 kB
./packages/bundler-webpack/compiled/cssnano/index.js 321 kB
./packages/bundler-webpack/compiled/express.d.ts 89 B
./packages/bundler-webpack/compiled/file-loader/index.js 66.6 kB
./packages/bundler-webpack/compiled/less-loader/index.js 2.82 kB
./packages/bundler-webpack/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js 1.75 kB
./packages/bundler-webpack/compiled/mini-css-extract-plugin/hmr/normalize-url.js 452 B
./packages/bundler-webpack/compiled/mini-css-extract-plugin/index.js 88 kB
./packages/bundler-webpack/compiled/mini-css-extract-plugin/loader.js 3.71 kB
./packages/bundler-webpack/compiled/mini-css-extract-plugin/utils.js 1.9 kB
./packages/bundler-webpack/compiled/postcss-flexbugs-fixes/index.js 820 B
./packages/bundler-webpack/compiled/postcss-loader/index.js 61.3 kB
./packages/bundler-webpack/compiled/purgecss-webpack-plugin/index.js 50.9 kB
./packages/bundler-webpack/compiled/sass-loader/index.js 575 kB
./packages/bundler-webpack/compiled/sass-loader/sass.default.dart.js 94 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/ajv.d.ts 427 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/codegen/code.d.ts 506 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/codegen/index.d.ts 997 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/codegen/scope.d.ts 751 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/errors.d.ts 324 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/index.d.ts 875 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/ref_error.d.ts 136 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/resolve.d.ts 306 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/rules.d.ts 367 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/util.d.ts 755 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/validate/index.d.ts 699 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/compile/validate/subschema.d.ts 541 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/core.d.ts 2.22 kB
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/runtime/validation_error.d.ts 165 B
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/types/index.d.ts 1.58 kB
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/types/json-schema.d.ts 1.27 kB
./packages/bundler-webpack/compiled/schema-utils/ajv/dist/types/jtd-schema.d.ts 1.64 kB
./packages/bundler-webpack/compiled/schema-utils/ajv/lib/ajv.d.ts 3.52 kB
./packages/bundler-webpack/compiled/schema-utils/declarations/index.d.ts 78 B
./packages/bundler-webpack/compiled/schema-utils/declarations/validate.d.ts 429 B
./packages/bundler-webpack/compiled/schema-utils/declarations/ValidationError.d.ts 575 B
./packages/bundler-webpack/compiled/schema-utils/index.js 50.5 kB
./packages/bundler-webpack/compiled/schema-utils/json-schema/index.d.ts 4.67 kB
./packages/bundler-webpack/compiled/schema-utils/uri-js/dist/es5/uri.all.d.ts 620 B
./packages/bundler-webpack/compiled/speed-measure-webpack-plugin/index.js 13.6 kB
./packages/bundler-webpack/compiled/style-loader/index.js 3.08 kB
./packages/bundler-webpack/compiled/style-loader/runtime/injectStylesIntoLinkTag.js 370 B
./packages/bundler-webpack/compiled/style-loader/runtime/injectStylesIntoStyleTag.js 783 B
./packages/bundler-webpack/compiled/style-loader/runtime/insertBySelector.js 492 B
./packages/bundler-webpack/compiled/style-loader/runtime/insertStyleElement.js 181 B
./packages/bundler-webpack/compiled/style-loader/runtime/isEqualLocals.js 241 B
./packages/bundler-webpack/compiled/style-loader/runtime/isOldIE.js 375 B
./packages/bundler-webpack/compiled/style-loader/runtime/setAttributesWithAttributes.js 243 B
./packages/bundler-webpack/compiled/style-loader/runtime/setAttributesWithAttributesAndNonce.js 178 B
./packages/bundler-webpack/compiled/style-loader/runtime/setAttributesWithoutAttributes.js 197 B
./packages/bundler-webpack/compiled/style-loader/runtime/singletonStyleDomAPI.js 706 B
./packages/bundler-webpack/compiled/style-loader/runtime/styleDomAPI.js 567 B
./packages/bundler-webpack/compiled/style-loader/runtime/styleTagTransform.js 216 B
./packages/bundler-webpack/compiled/stylus-loader/index.js 28.6 kB
./packages/bundler-webpack/compiled/svgo-loader/index.js 174 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts 239 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts 1.11 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/types.d.ts 712 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/ajv/lib/ajv.d.ts 3.52 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/index.js 83.2 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/jest-worker/build/index.d.ts 1.05 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/jest-worker/build/types.d.ts 1.49 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/json-schema/index.d.ts 4.67 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/minify.js 550 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/schema-utils/declarations/index.d.ts 78 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/schema-utils/declarations/validate.d.ts 446 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/schema-utils/declarations/ValidationError.d.ts 578 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/source-map/source-map.d.ts 809 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/types/cjs.d.ts 102 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/types/index.d.ts 2.24 kB
./packages/bundler-webpack/compiled/terser-webpack-plugin/types/minify.d.ts 234 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/types/utils.d.ts 672 B
./packages/bundler-webpack/compiled/terser-webpack-plugin/utils.js 3.89 kB
./packages/bundler-webpack/compiled/terser/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts 1.04 kB
./packages/bundler-webpack/compiled/terser/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts 199 B
./packages/bundler-webpack/compiled/terser/@jridgewell/gen-mapping/dist/types/types.d.ts 306 B
./packages/bundler-webpack/compiled/terser/@jridgewell/source-map/dist/types/source-map.d.ts 466 B
./packages/bundler-webpack/compiled/terser/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts 239 B
./packages/bundler-webpack/compiled/terser/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts 1.11 kB
./packages/bundler-webpack/compiled/terser/@jridgewell/trace-mapping/dist/types/types.d.ts 712 B
./packages/bundler-webpack/compiled/terser/index.js 159 kB
./packages/bundler-webpack/compiled/terser/source-map/source-map.d.ts 3.15 kB
./packages/bundler-webpack/compiled/terser/tools/terser.d.ts 1.95 kB
./packages/bundler-webpack/compiled/url-loader/index.js 85.6 kB
./packages/bundler-webpack/compiled/webpack-5-chain/index.js 8.88 kB
./packages/bundler-webpack/compiled/webpack-5-chain/types/index.d.ts 4.22 kB
./packages/bundler-webpack/compiled/webpack-bundle-analyzer/index.js 85.8 kB
./packages/bundler-webpack/compiled/webpack-bundle-analyzer/public/viewer.js 90.3 kB
./packages/bundler-webpack/compiled/webpack-dev-middleware/index.js 95.4 kB
./packages/bundler-webpack/compiled/webpack-manifest-plugin/index.js 2.44 kB
./packages/bundler-webpack/compiled/webpack-sources/index.d.ts 385 B
./packages/bundler-webpack/compiled/webpack-sources/index.js 8.68 kB
./packages/bundler-webpack/compiled/webpack-sources/lib/CachedSource.d.ts 325 B
./packages/bundler-webpack/compiled/webpack-sources/lib/CompatSource.d.ts 157 B
./packages/bundler-webpack/compiled/webpack-sources/lib/ConcatSource.d.ts 301 B
./packages/bundler-webpack/compiled/webpack-sources/lib/index.d.ts 693 B
./packages/bundler-webpack/compiled/webpack-sources/lib/OriginalSource.d.ts 327 B
./packages/bundler-webpack/compiled/webpack-sources/lib/PrefixSource.d.ts 221 B
./packages/bundler-webpack/compiled/webpack-sources/lib/RawSource.d.ts 196 B
./packages/bundler-webpack/compiled/webpack-sources/lib/ReplaceSource.d.ts 472 B
./packages/bundler-webpack/compiled/webpack-sources/lib/SizeOnlySource.d.ts 127 B
./packages/bundler-webpack/compiled/webpack-sources/lib/Source.d.ts 557 B
./packages/bundler-webpack/compiled/webpack-sources/lib/SourceMapSource.d.ts 323 B
./packages/bundler-webpack/compiled/webpack-sources/source-list-map/index.d.ts 617 B
./packages/bundler-webpack/compiled/webpack-sources/source-map/source-map.d.ts 3.15 kB
./packages/bundler-webpack/compiled/webpack/ajv/lib/ajv.d.ts 3.52 kB
./packages/bundler-webpack/compiled/webpack/BasicEffectRulePlugin.js 73 B
./packages/bundler-webpack/compiled/webpack/BasicEvaluatedExpression.js 77 B
./packages/bundler-webpack/compiled/webpack/BasicMatcherRulePlugin.js 74 B
./packages/bundler-webpack/compiled/webpack/Chunk.js 58 B
./packages/bundler-webpack/compiled/webpack/Compilation.js 64 B
./packages/bundler-webpack/compiled/webpack/ExternalsPlugin.js 68 B
./packages/bundler-webpack/compiled/webpack/FetchCompileAsyncWasmPlugin.js 80 B
./packages/bundler-webpack/compiled/webpack/FetchCompileWasmPlugin.js 75 B
./packages/bundler-webpack/compiled/webpack/HotModuleReplacement.runtime.js 2.68 kB
./packages/bundler-webpack/compiled/webpack/index.js 1.07 MB
./packages/bundler-webpack/compiled/webpack/JavascriptHotModuleReplacement.runtime.js 3.05 kB
./packages/bundler-webpack/compiled/webpack/json-schema/index.d.ts 4.71 kB
./packages/bundler-webpack/compiled/webpack/lazy-compilation-node.js 617 B
./packages/bundler-webpack/compiled/webpack/lazy-compilation-web.js 866 B
./packages/bundler-webpack/compiled/webpack/LibraryTemplatePlugin.js 74 B
./packages/bundler-webpack/compiled/webpack/LimitChunkCountPlugin.js 74 B
./packages/bundler-webpack/compiled/webpack/LoaderTargetPlugin.js 71 B
./packages/bundler-webpack/compiled/webpack/ModuleFilenameHelpers.js 71 B
./packages/bundler-webpack/compiled/webpack/NodeTargetPlugin.js 69 B
./packages/bundler-webpack/compiled/webpack/NodeTemplatePlugin.js 71 B
./packages/bundler-webpack/compiled/webpack/NormalModule.js 62 B
./packages/bundler-webpack/compiled/webpack/ObjectMatcherRulePlugin.js 75 B
./packages/bundler-webpack/compiled/webpack/RuleSetCompiler.js 67 B
./packages/bundler-webpack/compiled/webpack/RuntimeGlobals.js 67 B
./packages/bundler-webpack/compiled/webpack/RuntimeModule.js 63 B
./packages/bundler-webpack/compiled/webpack/schema-utils/declarations/index.d.ts 78 B
./packages/bundler-webpack/compiled/webpack/schema-utils/declarations/validate.d.ts 446 B
./packages/bundler-webpack/compiled/webpack/schema-utils/declarations/ValidationError.d.ts 578 B
./packages/bundler-webpack/compiled/webpack/SingleEntryPlugin.js 70 B
./packages/bundler-webpack/compiled/webpack/StringXor.js 62 B
./packages/bundler-webpack/compiled/webpack/Template.js 61 B
./packages/bundler-webpack/compiled/webpack/types.d.ts 71.6 kB
./packages/bundler-webpack/compiled/webpack/UseEffectRulePlugin.js 71 B
./packages/bundler-webpack/compiled/webpack/WebWorkerTemplatePlugin.js 76 B
./packages/bundler-webpack/compiled/webpackbar/dist/index.d.ts 921 B
./packages/bundler-webpack/compiled/webpackbar/index.js 42.3 kB
./packages/bundler-webpack/compiled/ws/index.d.ts 3.32 kB
./packages/bundler-webpack/compiled/ws/index.js 13.2 kB
./packages/bundler-webpack/dist/build.d.ts 342 B
./packages/bundler-webpack/dist/build.js 2.08 kB
./packages/bundler-webpack/dist/cli.d.ts 31 B
./packages/bundler-webpack/dist/cli.js 1.23 kB
./packages/bundler-webpack/dist/config/_sampleFeature.d.ts 216 B
./packages/bundler-webpack/dist/config/_sampleFeature.js 546 B
./packages/bundler-webpack/dist/config/assetRules.d.ts 228 B
./packages/bundler-webpack/dist/config/assetRules.js 769 B
./packages/bundler-webpack/dist/config/bundleAnalyzerPlugin.d.ts 220 B
./packages/bundler-webpack/dist/config/bundleAnalyzerPlugin.js 738 B
./packages/bundler-webpack/dist/config/compressPlugin.d.ts 201 B
./packages/bundler-webpack/dist/config/compressPlugin.js 1.53 kB
./packages/bundler-webpack/dist/config/config.d.ts 413 B
./packages/bundler-webpack/dist/config/config.js 3.18 kB
./packages/bundler-webpack/dist/config/copyPlugin.d.ts 213 B
./packages/bundler-webpack/dist/config/copyPlugin.js 917 B
./packages/bundler-webpack/dist/config/cssRules.d.ts 224 B
./packages/bundler-webpack/dist/config/cssRules.js 1.99 kB
./packages/bundler-webpack/dist/config/definePlugin.d.ts 270 B
./packages/bundler-webpack/dist/config/definePlugin.js 902 B
./packages/bundler-webpack/dist/config/detectCssModulesInDependence.d.ts 242 B
./packages/bundler-webpack/dist/config/detectCssModulesInDependence.js 1.99 kB
./packages/bundler-webpack/dist/config/detectDeadCode.d.ts 255 B
./packages/bundler-webpack/dist/config/detectDeadCode.js 2.29 kB
./packages/bundler-webpack/dist/config/detectDeadCodePlugin.d.ts 207 B
./packages/bundler-webpack/dist/config/detectDeadCodePlugin.js 1.12 kB
./packages/bundler-webpack/dist/config/fastRefreshPlugin.d.ts 236 B
./packages/bundler-webpack/dist/config/fastRefreshPlugin.js 953 B
./packages/bundler-webpack/dist/config/forkTSCheckerPlugin.d.ts 229 B
./packages/bundler-webpack/dist/config/forkTSCheckerPlugin.js 916 B
./packages/bundler-webpack/dist/config/harmonyLinkingErrorPlugin.d.ts 178 B
./packages/bundler-webpack/dist/config/harmonyLinkingErrorPlugin.js 850 B
./packages/bundler-webpack/dist/config/ignorePlugin.d.ts 214 B
./packages/bundler-webpack/dist/config/ignorePlugin.js 660 B
./packages/bundler-webpack/dist/config/javaScriptRules.d.ts 285 B
./packages/bundler-webpack/dist/config/javaScriptRules.js 2.68 kB
./packages/bundler-webpack/dist/config/manifestPlugin.d.ts 223 B
./packages/bundler-webpack/dist/config/manifestPlugin.js 652 B
./packages/bundler-webpack/dist/config/miniCSSExtractPlugin.d.ts 234 B
./packages/bundler-webpack/dist/config/miniCSSExtractPlugin.js 993 B
./packages/bundler-webpack/dist/config/nodePolyfill.d.ts 215 B
./packages/bundler-webpack/dist/config/nodePolyfill.js 754 B
./packages/bundler-webpack/dist/config/nodePrefixPlugin.d.ts 224 B
./packages/bundler-webpack/dist/config/nodePrefixPlugin.js 651 B
./packages/bundler-webpack/dist/config/progressPlugin.d.ts 221 B
./packages/bundler-webpack/dist/config/progressPlugin.js 906 B
./packages/bundler-webpack/dist/config/purgecssWebpackPlugin.d.ts 222 B
./packages/bundler-webpack/dist/config/purgecssWebpackPlugin.js 673 B
./packages/bundler-webpack/dist/config/speedMeasureWebpackPlugin.d.ts 175 B
./packages/bundler-webpack/dist/config/speedMeasureWebpackPlugin.js 1.11 kB
./packages/bundler-webpack/dist/config/ssrPlugin.d.ts 203 B
./packages/bundler-webpack/dist/config/ssrPlugin.js 1.28 kB
./packages/bundler-webpack/dist/config/svgRules.d.ts 239 B
./packages/bundler-webpack/dist/config/svgRules.js 1.1 kB
./packages/bundler-webpack/dist/constants.d.ts 263 B
./packages/bundler-webpack/dist/constants.js 787 B
./packages/bundler-webpack/dist/dev.d.ts 562 B
./packages/bundler-webpack/dist/dev.js 2.46 kB
./packages/bundler-webpack/dist/index.d.ts 192 B
./packages/bundler-webpack/dist/index.js 560 B
./packages/bundler-webpack/dist/loader/svgr.d.ts 163 B
./packages/bundler-webpack/dist/loader/svgr.js 1.27 kB
./packages/bundler-webpack/dist/loader/swc.d.ts 189 B
./packages/bundler-webpack/dist/loader/swc.js 1.6 kB
./packages/bundler-webpack/dist/parcelCSS.d.ts 73 B
./packages/bundler-webpack/dist/parcelCSS.js 737 B
./packages/bundler-webpack/dist/plugins/_SamplePlugin.d.ts 187 B
./packages/bundler-webpack/dist/plugins/_SamplePlugin.js 569 B
./packages/bundler-webpack/dist/plugins/EsbuildMinifyFix.d.ts 213 B
./packages/bundler-webpack/dist/plugins/EsbuildMinifyFix.js 1.56 kB
./packages/bundler-webpack/dist/plugins/ProgressPlugin.d.ts 257 B
./packages/bundler-webpack/dist/plugins/ProgressPlugin.js 1 kB
./packages/bundler-webpack/dist/plugins/RuntimePublicPathPlugin.d.ts 145 B
./packages/bundler-webpack/dist/plugins/RuntimePublicPathPlugin.js 754 B
./packages/bundler-webpack/dist/requireHook.d.ts 31 B
./packages/bundler-webpack/dist/requireHook.js 954 B
./packages/bundler-webpack/dist/schema.d.ts 142 B
./packages/bundler-webpack/dist/schema.js 1.55 kB
./packages/bundler-webpack/dist/server/server.d.ts 274 B
./packages/bundler-webpack/dist/server/server.js 2.68 kB
./packages/bundler-webpack/dist/server/ws.d.ts 255 B
./packages/bundler-webpack/dist/server/ws.js 1.11 kB
./packages/bundler-webpack/dist/swcPlugins/autoCSSModules.d.ts 610 B
./packages/bundler-webpack/dist/swcPlugins/autoCSSModules.js 1.07 kB
./packages/bundler-webpack/dist/swcPlugins/changeImportFromString.d.ts 127 B
./packages/bundler-webpack/dist/swcPlugins/changeImportFromString.js 539 B
./packages/bundler-webpack/dist/swcPlugins/lockCoreJS.d.ts 158 B
./packages/bundler-webpack/dist/swcPlugins/lockCoreJS.js 1.03 kB
./packages/bundler-webpack/dist/types.d.ts 1.1 kB
./packages/bundler-webpack/dist/types.js 739 B
./packages/bundler-webpack/dist/utils/browsersList.d.ts 128 B
./packages/bundler-webpack/dist/utils/browsersList.js 562 B
./packages/bundler-webpack/dist/utils/depMatch.d.ts 176 B
./packages/bundler-webpack/dist/utils/depMatch.js 923 B
./packages/bundler-webpack/dist/utils/formatWebpackMessages.d.ts 136 B
./packages/bundler-webpack/dist/utils/formatWebpackMessages.js 1.77 kB
./packages/bundler-webpack/dist/utils/getEsBuildTarget.d.ts 177 B
./packages/bundler-webpack/dist/utils/getEsBuildTarget.js 791 B
./packages/bundler-webpack/dist/utils/pkgUpContainsName.d.ts 85 B
./packages/bundler-webpack/dist/utils/pkgUpContainsName.js 859 B
./packages/core/compiled/dotenv-expand/index.js 603 B
./packages/core/compiled/dotenv-expand/lib/main.d.ts 386 B
./packages/core/compiled/dotenv/index.js 951 B
./packages/core/compiled/dotenv/lib/main.d.ts 834 B
./packages/core/compiled/dotenv/types/index.d.ts 708 B
./packages/core/compiled/just-diff/index.d.ts 306 B
./packages/core/compiled/just-diff/index.js 705 B
./packages/core/dist/config/config.d.ts 482 B
./packages/core/dist/config/config.js 2.48 kB
./packages/core/dist/config/utils.d.ts 115 B
./packages/core/dist/config/utils.js 641 B
./packages/core/dist/constants.d.ts 196 B
./packages/core/dist/constants.js 670 B
./packages/core/dist/index.d.ts 148 B
./packages/core/dist/index.js 695 B
./packages/core/dist/route/defineRoutes.d.ts 91 B
./packages/core/dist/route/defineRoutes.js 873 B
./packages/core/dist/route/route.d.ts 71 B
./packages/core/dist/route/route.js 526 B
./packages/core/dist/route/routesConfig.d.ts 145 B
./packages/core/dist/route/routesConfig.js 1.45 kB
./packages/core/dist/route/routesConvention.d.ts 122 B
./packages/core/dist/route/routesConvention.js 1.25 kB
./packages/core/dist/route/routeUtils.d.ts 167 B
./packages/core/dist/route/routeUtils.js 664 B
./packages/core/dist/route/utils.d.ts 210 B
./packages/core/dist/route/utils.js 850 B
./packages/core/dist/service/command.d.ts 265 B
./packages/core/dist/service/command.js 588 B
./packages/core/dist/service/env.d.ts 95 B
./packages/core/dist/service/env.js 729 B
./packages/core/dist/service/generatePlugin.d.ts 128 B
./packages/core/dist/service/generatePlugin.js 1.18 kB
./packages/core/dist/service/generator.d.ts 428 B
./packages/core/dist/service/generator.js 588 B
./packages/core/dist/service/hook.d.ts 168 B
./packages/core/dist/service/hook.js 869 B
./packages/core/dist/service/path.d.ts 193 B
./packages/core/dist/service/path.js 803 B
./packages/core/dist/service/plugin.d.ts 514 B
./packages/core/dist/service/plugin.js 2.14 kB
./packages/core/dist/service/pluginAPI.d.ts 637 B
./packages/core/dist/service/pluginAPI.js 2.59 kB
./packages/core/dist/service/service.d.ts 1.52 kB
./packages/core/dist/service/service.js 4.69 kB
./packages/core/dist/service/servicePlugin.d.ts 107 B
./packages/core/dist/service/servicePlugin.js 552 B
./packages/core/dist/service/telemetry.d.ts 338 B
./packages/core/dist/service/telemetry.js 1.1 kB
./packages/core/dist/service/utils.d.ts 99 B
./packages/core/dist/service/utils.js 558 B
./packages/core/dist/types.d.ts 751 B
./packages/core/dist/types.js 954 B
./packages/create-umi/dist/cli.d.ts 31 B
./packages/create-umi/dist/cli.js 365 B
./packages/create-umi/dist/index.d.ts 441 B
./packages/create-umi/dist/index.js 2.88 kB
./packages/create-umi/dist/template.d.ts 225 B
./packages/create-umi/dist/template.js 1.41 kB
./packages/lint/compiled/@rushstack/eslint-patch/lib/modern-module-resolution.js 2.15 kB
./packages/lint/compiled/postcss-less/index.js 21.9 kB
./packages/lint/compiled/stylelint-config-css-modules/index.js 462 B
./packages/lint/compiled/stylelint-config-prettier/index.js 746 B
./packages/lint/compiled/stylelint-declaration-block-no-ignored-properties/index.js 141 kB
./packages/lint/dist/config/eslint/index.d.ts 38 B
./packages/lint/dist/config/eslint/index.js 1.07 kB
./packages/lint/dist/config/eslint/legacy.d.ts 38 B
./packages/lint/dist/config/eslint/legacy.js 945 B
./packages/lint/dist/config/eslint/rules/fabric.d.ts 892 B
./packages/lint/dist/config/eslint/rules/fabric.js 1.29 kB
./packages/lint/dist/config/eslint/rules/recommended.d.ts 927 B
./packages/lint/dist/config/eslint/rules/recommended.js 1.65 kB
./packages/lint/dist/config/eslint/setup.d.ts 20 B
./packages/lint/dist/config/eslint/setup.js 116 B
./packages/lint/dist/config/stylelint/index.d.ts 20 B
./packages/lint/dist/config/stylelint/index.js 1.48 kB
./packages/lint/dist/index.d.ts 131 B
./packages/lint/dist/index.js 698 B
./packages/lint/dist/linter/base.d.ts 272 B
./packages/lint/dist/linter/base.js 1.07 kB
./packages/lint/dist/linter/eslint.d.ts 170 B
./packages/lint/dist/linter/eslint.js 810 B
./packages/lint/dist/linter/index.d.ts 82 B
./packages/lint/dist/linter/index.js 766 B
./packages/lint/dist/linter/stylelint.d.ts 174 B
./packages/lint/dist/linter/stylelint.js 859 B
./packages/lint/dist/types.d.ts 132 B
./packages/lint/dist/types.js 374 B
./packages/max/dist/cli.d.ts 31 B
./packages/max/dist/cli.js 661 B
./packages/max/dist/index.d.ts 41 B
./packages/max/dist/index.js 490 B
./packages/max/dist/plugins/maxAlias.d.ts 100 B
./packages/max/dist/plugins/maxAlias.js 516 B
./packages/max/dist/plugins/maxAppData.d.ts 100 B
./packages/max/dist/plugins/maxAppData.js 522 B
./packages/max/dist/plugins/maxChecker.d.ts 100 B
./packages/max/dist/plugins/maxChecker.js 648 B
./packages/max/dist/preset.d.ts 89 B
./packages/max/dist/preset.js 873 B
./packages/mfsu/compiled/is-absolute-url/index.d.ts 212 B
./packages/mfsu/compiled/is-absolute-url/index.js 434 B
./packages/mfsu/compiled/mrmime/index.d.ts 101 B
./packages/mfsu/compiled/mrmime/index.js 2.91 kB
./packages/mfsu/compiled/webpack-virtual-modules/index.js 2.14 kB
./packages/mfsu/dist/babelPlugins/awaitImport/awaitImport.d.ts 352 B
./packages/mfsu/dist/babelPlugins/awaitImport/awaitImport.js 1.29 kB
./packages/mfsu/dist/babelPlugins/awaitImport/checkMatch.d.ts 296 B
./packages/mfsu/dist/babelPlugins/awaitImport/checkMatch.js 2.07 kB
./packages/mfsu/dist/babelPlugins/awaitImport/getAliasedPath.d.ts 130 B
./packages/mfsu/dist/babelPlugins/awaitImport/getAliasedPath.js 711 B
./packages/mfsu/dist/babelPlugins/awaitImport/getRealPath.d.ts 99 B
./packages/mfsu/dist/babelPlugins/awaitImport/getRealPath.js 733 B
./packages/mfsu/dist/babelPlugins/awaitImport/isExternals.d.ts 171 B
./packages/mfsu/dist/babelPlugins/awaitImport/isExternals.js 671 B
./packages/mfsu/dist/babelPlugins/awaitImport/MFImport.d.ts 328 B
./packages/mfsu/dist/babelPlugins/awaitImport/MFImport.js 1.02 kB
./packages/mfsu/dist/babelPlugins/awaitImport/parseSpecifiers.d.ts 74 B
./packages/mfsu/dist/babelPlugins/awaitImport/parseSpecifiers.js 1.03 kB
./packages/mfsu/dist/constants.d.ts 197 B
./packages/mfsu/dist/constants.js 701 B
./packages/mfsu/dist/dep/dep.d.ts 330 B
./packages/mfsu/dist/dep/dep.js 1.75 kB
./packages/mfsu/dist/dep/getCJSExports.d.ts 92 B
./packages/mfsu/dist/dep/getCJSExports.js 1.13 kB
./packages/mfsu/dist/dep/getExposeFromContent.d.ts 140 B
./packages/mfsu/dist/dep/getExposeFromContent.js 1.42 kB
./packages/mfsu/dist/dep/getModuleExports.d.ts 148 B
./packages/mfsu/dist/dep/getModuleExports.js 851 B
./packages/mfsu/dist/depBuilder/depBuilder.d.ts 327 B
./packages/mfsu/dist/depBuilder/depBuilder.js 2.43 kB
./packages/mfsu/dist/depBuilder/getESBuildEntry.d.ts 130 B
./packages/mfsu/dist/depBuilder/getESBuildEntry.js 3.81 kB
./packages/mfsu/dist/depInfo.d.ts 355 B
./packages/mfsu/dist/depInfo.js 1.11 kB
./packages/mfsu/dist/esbuildHandlers/autoCssModules.d.ts 129 B
./packages/mfsu/dist/esbuildHandlers/autoCssModules.js 761 B
./packages/mfsu/dist/esbuildHandlers/awaitImport/index.d.ts 272 B
./packages/mfsu/dist/esbuildHandlers/awaitImport/index.js 985 B
./packages/mfsu/dist/index.d.ts 112 B
./packages/mfsu/dist/index.js 611 B
./packages/mfsu/dist/loader/esbuild.d.ts 183 B
./packages/mfsu/dist/loader/esbuild.js 1.04 kB
./packages/mfsu/dist/mfsu/mfsu.d.ts 934 B
./packages/mfsu/dist/mfsu/mfsu.js 4.25 kB
./packages/mfsu/dist/mfsu/strategyCompileTime.d.ts 371 B
./packages/mfsu/dist/mfsu/strategyCompileTime.js 1.54 kB
./packages/mfsu/dist/mfsu/strategyStaticAnalyze.d.ts 408 B
./packages/mfsu/dist/mfsu/strategyStaticAnalyze.js 2.11 kB
./packages/mfsu/dist/moduleGraph.d.ts 491 B
./packages/mfsu/dist/moduleGraph.js 1.8 kB
./packages/mfsu/dist/staticDepInfo/importParser.d.ts 92 B
./packages/mfsu/dist/staticDepInfo/importParser.js 506 B
./packages/mfsu/dist/staticDepInfo/simulations/babel-plugin-import.d.ts 301 B
./packages/mfsu/dist/staticDepInfo/simulations/babel-plugin-import.js 1.79 kB
./packages/mfsu/dist/staticDepInfo/staticDepInfo.d.ts 754 B
./packages/mfsu/dist/staticDepInfo/staticDepInfo.js 2.58 kB
./packages/mfsu/dist/types.d.ts 313 B
./packages/mfsu/dist/types.js 542 B
./packages/mfsu/dist/utils/makeArray.d.ts 69 B
./packages/mfsu/dist/utils/makeArray.js 512 B
./packages/mfsu/dist/utils/resolveUtils.d.ts 99 B
./packages/mfsu/dist/utils/resolveUtils.js 1.25 kB
./packages/mfsu/dist/utils/trimFileContent.d.ts 74 B
./packages/mfsu/dist/utils/trimFileContent.js 514 B
./packages/mfsu/dist/utils/webpackUtils.d.ts 168 B
./packages/mfsu/dist/utils/webpackUtils.js 1.3 kB
./packages/mfsu/dist/webpackPlugins/buildDepPlugin.d.ts 217 B
./packages/mfsu/dist/webpackPlugins/buildDepPlugin.js 832 B
./packages/mfsu/dist/webpackPlugins/depChunkIdPrefixPlugin.d.ts 137 B
./packages/mfsu/dist/webpackPlugins/depChunkIdPrefixPlugin.js 691 B
./packages/mfsu/dist/webpackPlugins/stripSourceMapUrlPlugin.d.ts 170 B
./packages/mfsu/dist/webpackPlugins/stripSourceMapUrlPlugin.js 821 B
./packages/mfsu/dist/webpackPlugins/writeCachePlugin.d.ts 175 B
./packages/mfsu/dist/webpackPlugins/writeCachePlugin.js 652 B
./packages/plugin-docs/compiled/@mdx-js/mdx/index.js 140 kB
./packages/plugin-docs/compiled/rehype-autolink-headings/index.js 2.59 kB
./packages/plugin-docs/compiled/rehype-slug/index.js 5 kB
./packages/plugin-docs/compiled/remark-gfm/index.js 25.1 kB
./packages/plugin-docs/dist/compiler.d.ts 111 B
./packages/plugin-docs/dist/compiler.js 1.75 kB
./packages/plugin-docs/dist/index.d.ts 100 B
./packages/plugin-docs/dist/index.js 2.12 kB
./packages/plugin-docs/dist/loader.d.ts 77 B
./packages/plugin-docs/dist/loader.js 611 B
./packages/plugin-docs/dist/markdown.d.ts 109 B
./packages/plugin-docs/dist/markdown.js 679 B
./packages/plugin-run/dist/index.d.ts 142 B
./packages/plugin-run/dist/index.js 1.61 kB
./packages/plugins/dist/access.d.ts 100 B
./packages/plugins/dist/access.js 2.09 kB
./packages/plugins/dist/analytics.d.ts 105 B
./packages/plugins/dist/analytics.js 1.26 kB
./packages/plugins/dist/antd.d.ts 100 B
./packages/plugins/dist/antd.js 4.11 kB
./packages/plugins/dist/confetti.d.ts 100 B
./packages/plugins/dist/confetti.js 838 B
./packages/plugins/dist/constants.d.ts 64 B
./packages/plugins/dist/constants.js 538 B
./packages/plugins/dist/dva.d.ts 170 B
./packages/plugins/dist/dva.js 3.18 kB
./packages/plugins/dist/initial-state.d.ts 100 B
./packages/plugins/dist/initial-state.js 1.53 kB
./packages/plugins/dist/layout.d.ts 100 B
./packages/plugins/dist/layout.js 7.72 kB
./packages/plugins/dist/locale.d.ts 136 B
./packages/plugins/dist/locale.js 2.85 kB
./packages/plugins/dist/mf.d.ts 92 B
./packages/plugins/dist/mf.js 3.45 kB
./packages/plugins/dist/model.d.ts 100 B
./packages/plugins/dist/model.js 1.56 kB
./packages/plugins/dist/moment2dayjs.d.ts 100 B
./packages/plugins/dist/moment2dayjs.js 1.46 kB
./packages/plugins/dist/qiankun.d.ts 100 B
./packages/plugins/dist/qiankun.js 859 B
./packages/plugins/dist/qiankun/constants.d.ts 171 B
./packages/plugins/dist/qiankun/constants.js 639 B
./packages/plugins/dist/qiankun/master.d.ts 153 B
./packages/plugins/dist/qiankun/master.js 2.95 kB
./packages/plugins/dist/qiankun/slave.d.ts 100 B
./packages/plugins/dist/qiankun/slave.js 4.36 kB
./packages/plugins/dist/react-query.d.ts 100 B
./packages/plugins/dist/react-query.js 1.95 kB
./packages/plugins/dist/request.d.ts 100 B
./packages/plugins/dist/request.js 3.37 kB
./packages/plugins/dist/styled-components.d.ts 100 B
./packages/plugins/dist/styled-components.js 2.02 kB
./packages/plugins/dist/tailwindcss.d.ts 100 B
./packages/plugins/dist/tailwindcss.js 1.35 kB
./packages/plugins/dist/unocss.d.ts 100 B
./packages/plugins/dist/unocss.js 1.12 kB
./packages/plugins/dist/utils/astUtils.d.ts 161 B
./packages/plugins/dist/utils/astUtils.js 874 B
./packages/plugins/dist/utils/localeUtils.d.ts 499 B
./packages/plugins/dist/utils/localeUtils.js 1.76 kB
./packages/plugins/dist/utils/mfUtils.d.ts 177 B
./packages/plugins/dist/utils/mfUtils.js 699 B
./packages/plugins/dist/utils/modelUtils.d.ts 468 B
./packages/plugins/dist/utils/modelUtils.js 3 kB
./packages/plugins/dist/utils/resolveProjectDep.d.ts 115 B
./packages/plugins/dist/utils/resolveProjectDep.js 666 B
./packages/plugins/dist/utils/withTmpPath.d.ts 136 B
./packages/plugins/dist/utils/withTmpPath.js 614 B
./packages/plugins/dist/valtio.d.ts 100 B
./packages/plugins/dist/valtio.js 1.05 kB
./packages/preset-umi/compiled/@manypkg/get-packages/index.js 60.4 kB
./packages/preset-umi/compiled/body-parser/connect/index.d.ts 1.15 kB
./packages/preset-umi/compiled/body-parser/index.d.ts 1.44 kB
./packages/preset-umi/compiled/body-parser/index.js 214 kB
./packages/preset-umi/compiled/ini/index.d.ts 327 B
./packages/preset-umi/compiled/ini/index.js 1.36 kB
./packages/preset-umi/compiled/joi2types/index.js 61.9 kB
./packages/preset-umi/compiled/multer/body-parser/index.d.ts 1.43 kB
./packages/preset-umi/compiled/multer/connect/index.d.ts 1.15 kB
./packages/preset-umi/compiled/multer/express-serve-static-core/index.d.ts 10.2 kB
./packages/preset-umi/compiled/multer/express/index.d.ts 1.24 kB
./packages/preset-umi/compiled/multer/index.d.ts 3.41 kB
./packages/preset-umi/compiled/multer/index.js 238 kB
./packages/preset-umi/compiled/multer/mime/index.d.ts 511 B
./packages/preset-umi/compiled/multer/qs/index.d.ts 893 B
./packages/preset-umi/compiled/multer/range-parser/index.d.ts 598 B
./packages/preset-umi/compiled/multer/serve-static/index.d.ts 1.75 kB
./packages/preset-umi/compiled/os-locale/index.d.ts 370 B
./packages/preset-umi/compiled/os-locale/index.js 2.78 kB
./packages/preset-umi/compiled/sirv/index.js 4.97 kB
./packages/preset-umi/dist/commands/build.d.ts 108 B
./packages/preset-umi/dist/commands/build.js 2.15 kB
./packages/preset-umi/dist/commands/config/config.d.ts 106 B
./packages/preset-umi/dist/commands/config/config.js 890 B
./packages/preset-umi/dist/commands/config/list.d.ts 133 B
./packages/preset-umi/dist/commands/config/list.js 744 B
./packages/preset-umi/dist/commands/config/remove.d.ts 88 B
./packages/preset-umi/dist/commands/config/remove.js 713 B
./packages/preset-umi/dist/commands/config/set.d.ts 113 B
./packages/preset-umi/dist/commands/config/set.js 822 B
./packages/preset-umi/dist/commands/deadcode.d.ts 108 B
./packages/preset-umi/dist/commands/deadcode.js 2.73 kB
./packages/preset-umi/dist/commands/dev/createRouteMiddleware.d.ts 190 B
./packages/preset-umi/dist/commands/dev/createRouteMiddleware.js 1.05 kB
./packages/preset-umi/dist/commands/dev/depBuildWorker/depBuilder.d.ts 392 B
./packages/preset-umi/dist/commands/dev/depBuildWorker/depBuilder.js 2.59 kB
./packages/preset-umi/dist/commands/dev/depBuildWorker/depBuildWorker.d.ts 31 B
./packages/preset-umi/dist/commands/dev/depBuildWorker/depBuildWorker.js 1.91 kB
./packages/preset-umi/dist/commands/dev/depBuildWorker/dev-config.d.ts 106 B
./packages/preset-umi/dist/commands/dev/depBuildWorker/dev-config.js 1.32 kB
./packages/preset-umi/dist/commands/dev/depBuildWorker/getConfig.d.ts 74 B
./packages/preset-umi/dist/commands/dev/depBuildWorker/getConfig.js 863 B
./packages/preset-umi/dist/commands/dev/depBuildWorker/workerPreset.d.ts 89 B
./packages/preset-umi/dist/commands/dev/depBuildWorker/workerPreset.js 746 B
./packages/preset-umi/dist/commands/dev/dev.d.ts 109 B
./packages/preset-umi/dist/commands/dev/dev.js 4.09 kB
./packages/preset-umi/dist/commands/dev/faviconMiddleware.d.ts 115 B
./packages/preset-umi/dist/commands/dev/faviconMiddleware.js 598 B
./packages/preset-umi/dist/commands/dev/getAssetsMap.d.ts 117 B
./packages/preset-umi/dist/commands/dev/getAssetsMap.js 771 B
./packages/preset-umi/dist/commands/dev/getBabelOpts.d.ts 166 B
./packages/preset-umi/dist/commands/dev/getMarkupArgs.d.ts 224 B
./packages/preset-umi/dist/commands/dev/getMarkupArgs.js 1.24 kB
./packages/preset-umi/dist/commands/dev/plugins/ViteHtmlPlugin.d.ts 120 B
./packages/preset-umi/dist/commands/dev/plugins/ViteHtmlPlugin.js 955 B
./packages/preset-umi/dist/commands/dev/printMemoryUsage.d.ts 70 B
./packages/preset-umi/dist/commands/dev/printMemoryUsage.js 885 B
./packages/preset-umi/dist/commands/dev/watch.d.ts 323 B
./packages/preset-umi/dist/commands/dev/watch.js 948 B
./packages/preset-umi/dist/commands/generators/api.d.ts 163 B
./packages/preset-umi/dist/commands/generators/api.js 1.22 kB
./packages/preset-umi/dist/commands/generators/component.d.ts 250 B
./packages/preset-umi/dist/commands/generators/component.js 1.34 kB
./packages/preset-umi/dist/commands/generators/cypress.d.ts 106 B
./packages/preset-umi/dist/commands/generators/cypress.js 1.23 kB
./packages/preset-umi/dist/commands/generators/dva.d.ts 106 B
./packages/preset-umi/dist/commands/generators/dva.js 1.11 kB
./packages/preset-umi/dist/commands/generators/jest.d.ts 106 B
./packages/preset-umi/dist/commands/generators/jest.js 2.02 kB
./packages/preset-umi/dist/commands/generators/mock.d.ts 106 B
./packages/preset-umi/dist/commands/generators/mock.js 844 B
./packages/preset-umi/dist/commands/generators/page.d.ts 392 B
./packages/preset-umi/dist/commands/generators/page.js 1.97 kB
./packages/preset-umi/dist/commands/generators/precommit.d.ts 106 B
./packages/preset-umi/dist/commands/generators/precommit.js 1.12 kB
./packages/preset-umi/dist/commands/generators/prettier.d.ts 106 B
./packages/preset-umi/dist/commands/generators/prettier.js 1.03 kB
./packages/preset-umi/dist/commands/generators/tailwindcss.d.ts 106 B
./packages/preset-umi/dist/commands/generators/tailwindcss.js 1.06 kB
./packages/preset-umi/dist/commands/generators/tsconfig.d.ts 106 B
./packages/preset-umi/dist/commands/generators/tsconfig.js 1.11 kB
./packages/preset-umi/dist/commands/generators/utils.d.ts 762 B
./packages/preset-umi/dist/commands/generators/utils.js 2.84 kB
./packages/preset-umi/dist/commands/help.d.ts 105 B
./packages/preset-umi/dist/commands/help.js 1.02 kB
./packages/preset-umi/dist/commands/lint.d.ts 105 B
./packages/preset-umi/dist/commands/lint.js 1.17 kB
./packages/preset-umi/dist/commands/mfsu/mfsu.d.ts 106 B
./packages/preset-umi/dist/commands/mfsu/mfsu.js 1.36 kB
./packages/preset-umi/dist/commands/mfsu/util.d.ts 331 B
./packages/preset-umi/dist/commands/mfsu/util.js 3 kB
./packages/preset-umi/dist/commands/plugin.d.ts 105 B
./packages/preset-umi/dist/commands/plugin.js 877 B
./packages/preset-umi/dist/commands/preview.d.ts 105 B
./packages/preset-umi/dist/commands/preview.js 1.82 kB
./packages/preset-umi/dist/commands/setup.d.ts 108 B
./packages/preset-umi/dist/commands/setup.js 637 B
./packages/preset-umi/dist/commands/verify-commit.d.ts 105 B
./packages/preset-umi/dist/commands/verify-commit.js 3.83 kB
./packages/preset-umi/dist/commands/version.d.ts 105 B
./packages/preset-umi/dist/commands/version.js 594 B
./packages/preset-umi/dist/constants.d.ts 123 B
./packages/preset-umi/dist/constants.js 619 B
./packages/preset-umi/dist/features/__sample.d.ts 105 B
./packages/preset-umi/dist/features/__sample.js 458 B
./packages/preset-umi/dist/features/404/404.d.ts 164 B
./packages/preset-umi/dist/features/404/404.js 636 B
./packages/preset-umi/dist/features/apiRoute/apiRoute.d.ts 109 B
./packages/preset-umi/dist/features/apiRoute/apiRoute.js 2.4 kB
./packages/preset-umi/dist/features/apiRoute/constants.d.ts 62 B
./packages/preset-umi/dist/features/apiRoute/constants.js 511 B
./packages/preset-umi/dist/features/apiRoute/dev-server/esbuild.d.ts 120 B
./packages/preset-umi/dist/features/apiRoute/dev-server/esbuild.js 1.17 kB
./packages/preset-umi/dist/features/apiRoute/index.d.ts 104 B
./packages/preset-umi/dist/features/apiRoute/index.js 804 B
./packages/preset-umi/dist/features/apiRoute/request.d.ts 398 B
./packages/preset-umi/dist/features/apiRoute/request.js 1.61 kB
./packages/preset-umi/dist/features/apiRoute/response.d.ts 237 B
./packages/preset-umi/dist/features/apiRoute/response.js 679 B
./packages/preset-umi/dist/features/apiRoute/utils.d.ts 467 B
./packages/preset-umi/dist/features/apiRoute/utils.js 973 B
./packages/preset-umi/dist/features/apiRoute/vercel/esbuild.d.ts 120 B
./packages/preset-umi/dist/features/apiRoute/vercel/esbuild.js 1.05 kB
./packages/preset-umi/dist/features/appData/appData.d.ts 109 B
./packages/preset-umi/dist/features/appData/appData.js 2.3 kB
./packages/preset-umi/dist/features/appData/umiInfo.d.ts 109 B
./packages/preset-umi/dist/features/appData/umiInfo.js 519 B
./packages/preset-umi/dist/features/check/babel722.d.ts 109 B
./packages/preset-umi/dist/features/check/babel722.js 1.23 kB
./packages/preset-umi/dist/features/check/check.d.ts 106 B
./packages/preset-umi/dist/features/check/check.js 1.57 kB
./packages/preset-umi/dist/features/classPropertiesLoose/classPropertiesLoose.d.ts 106 B
./packages/preset-umi/dist/features/classPropertiesLoose/classPropertiesLoose.js 678 B
./packages/preset-umi/dist/features/clickToComponent/clickToComponent.d.ts 106 B
./packages/preset-umi/dist/features/clickToComponent/clickToComponent.js 1.37 kB
./packages/preset-umi/dist/features/clientLoader/clientLoader.d.ts 109 B
./packages/preset-umi/dist/features/clientLoader/clientLoader.js 633 B
./packages/preset-umi/dist/features/codeSplitting/codeSplitting.d.ts 106 B
./packages/preset-umi/dist/features/codeSplitting/codeSplitting.js 2.03 kB
./packages/preset-umi/dist/features/configPlugins/configPlugins.d.ts 109 B
./packages/preset-umi/dist/features/configPlugins/configPlugins.js 1.73 kB
./packages/preset-umi/dist/features/configPlugins/schema.d.ts 140 B
./packages/preset-umi/dist/features/configPlugins/schema.js 1.24 kB
./packages/preset-umi/dist/features/crossorigin/crossorigin.d.ts 106 B
./packages/preset-umi/dist/features/crossorigin/crossorigin.js 834 B
./packages/preset-umi/dist/features/depsOnDemand/depsOnDemand.d.ts 246 B
./packages/preset-umi/dist/features/depsOnDemand/depsOnDemand.js 1.45 kB
./packages/preset-umi/dist/features/devTool/devTool.d.ts 106 B
./packages/preset-umi/dist/features/devTool/devTool.js 1.28 kB
./packages/preset-umi/dist/features/esbuildHelperChecker/esbuildHelperChecker.d.ts 166 B
./packages/preset-umi/dist/features/esbuildHelperChecker/esbuildHelperChecker.js 1.76 kB
./packages/preset-umi/dist/features/esmi/esbuildPlugins/requireToImport.d.ts 216 B
./packages/preset-umi/dist/features/esmi/esbuildPlugins/requireToImport.js 975 B
./packages/preset-umi/dist/features/esmi/esbuildPlugins/topLevelExternal.d.ts 323 B
./packages/preset-umi/dist/features/esmi/esbuildPlugins/topLevelExternal.js 756 B
./packages/preset-umi/dist/features/esmi/esmi.d.ts 109 B
./packages/preset-umi/dist/features/esmi/esmi.js 2.64 kB
./packages/preset-umi/dist/features/esmi/Service.d.ts 575 B
./packages/preset-umi/dist/features/esmi/Service.js 1.65 kB
./packages/preset-umi/dist/features/exportStatic/exportStatic.d.ts 109 B
./packages/preset-umi/dist/features/exportStatic/exportStatic.js 3 kB
./packages/preset-umi/dist/features/favicons/favicons.d.ts 106 B
./packages/preset-umi/dist/features/favicons/favicons.js 981 B
./packages/preset-umi/dist/features/helmet/helmet.d.ts 148 B
./packages/preset-umi/dist/features/helmet/helmet.js 1.06 kB
./packages/preset-umi/dist/features/hmrGuardian/babelPlugin.d.ts 130 B
./packages/preset-umi/dist/features/hmrGuardian/babelPlugin.js 1.39 kB
./packages/preset-umi/dist/features/hmrGuardian/hmrGuardian.d.ts 91 B
./packages/preset-umi/dist/features/hmrGuardian/hmrGuardian.js 888 B
./packages/preset-umi/dist/features/icons/esbuildIconPlugin.d.ts 160 B
./packages/preset-umi/dist/features/icons/esbuildIconPlugin.js 1.09 kB
./packages/preset-umi/dist/features/icons/extract.d.ts 75 B
./packages/preset-umi/dist/features/icons/extract.js 970 B
./packages/preset-umi/dist/features/icons/icons.d.ts 109 B
./packages/preset-umi/dist/features/icons/icons.js 4.12 kB
./packages/preset-umi/dist/features/icons/loadIcon.d.ts 213 B
./packages/preset-umi/dist/features/icons/loadIcon.js 1.25 kB
./packages/preset-umi/dist/features/icons/svgr.d.ts 214 B
./packages/preset-umi/dist/features/icons/svgr.js 1.3 kB
./packages/preset-umi/dist/features/legacy/legacy.d.ts 109 B
./packages/preset-umi/dist/features/legacy/legacy.js 2.39 kB
./packages/preset-umi/dist/features/lowImport/babelPlugin.d.ts 296 B
./packages/preset-umi/dist/features/lowImport/babelPlugin.js 1.59 kB
./packages/preset-umi/dist/features/lowImport/lowImport.d.ts 184 B
./packages/preset-umi/dist/features/lowImport/lowImport.js 1.91 kB
./packages/preset-umi/dist/features/mock/constants.d.ts 121 B
./packages/preset-umi/dist/features/mock/constants.js 614 B
./packages/preset-umi/dist/features/mock/createMockMiddleware.d.ts 196 B
./packages/preset-umi/dist/features/mock/createMockMiddleware.js 1.43 kB
./packages/preset-umi/dist/features/mock/getMockData.d.ts 176 B
./packages/preset-umi/dist/features/mock/getMockData.js 1.75 kB
./packages/preset-umi/dist/features/mock/mock.d.ts 91 B
./packages/preset-umi/dist/features/mock/mock.js 1.27 kB
./packages/preset-umi/dist/features/monorepo/redirect.d.ts 109 B
./packages/preset-umi/dist/features/monorepo/redirect.js 2.13 kB
./packages/preset-umi/dist/features/mpa/extractExports.d.ts 116 B
./packages/preset-umi/dist/features/mpa/extractExports.js 1.38 kB
./packages/preset-umi/dist/features/mpa/mpa.d.ts 106 B
./packages/preset-umi/dist/features/mpa/mpa.js 2.62 kB
./packages/preset-umi/dist/features/okam/okam.d.ts 106 B
./packages/preset-umi/dist/features/okam/okam.js 615 B
./packages/preset-umi/dist/features/overrides/compileLess.d.ts 145 B
./packages/preset-umi/dist/features/overrides/compileLess.js 974 B
./packages/preset-umi/dist/features/overrides/compileLess.testScript.d.ts 31 B
./packages/preset-umi/dist/features/overrides/compileLess.testScript.js 1.07 kB
./packages/preset-umi/dist/features/overrides/overrides.d.ts 162 B
./packages/preset-umi/dist/features/overrides/overrides.js 1.08 kB
./packages/preset-umi/dist/features/overrides/transform.d.ts 98 B
./packages/preset-umi/dist/features/overrides/transform.js 1.33 kB
./packages/preset-umi/dist/features/phantomDependency/phantomDependency.d.ts 106 B
./packages/preset-umi/dist/features/phantomDependency/phantomDependency.js 1.78 kB
./packages/preset-umi/dist/features/polyfill/polyfill.d.ts 106 B
./packages/preset-umi/dist/features/polyfill/polyfill.js 1.64 kB
./packages/preset-umi/dist/features/polyfill/publicPathPolyfill.d.ts 106 B
./packages/preset-umi/dist/features/polyfill/publicPathPolyfill.js 820 B
./packages/preset-umi/dist/features/prepare/build.d.ts 274 B
./packages/preset-umi/dist/features/prepare/build.js 1.56 kB
./packages/preset-umi/dist/features/prepare/esbuildPlugins/esbuildAliasPlugin.d.ts 151 B
./packages/preset-umi/dist/features/prepare/esbuildPlugins/esbuildAliasPlugin.js 1.45 kB
./packages/preset-umi/dist/features/prepare/esbuildPlugins/esbuildExternalPlugin.d.ts 153 B
./packages/preset-umi/dist/features/prepare/esbuildPlugins/esbuildExternalPlugin.js 1.3 kB
./packages/preset-umi/dist/features/prepare/esbuildPlugins/isRelative.d.ts 80 B
./packages/preset-umi/dist/features/prepare/esbuildPlugins/isRelative.js 538 B
./packages/preset-umi/dist/features/prepare/prepare.d.ts 106 B
./packages/preset-umi/dist/features/prepare/prepare.js 1.78 kB
./packages/preset-umi/dist/features/routePrefetch/routePrefetch.d.ts 109 B
./packages/preset-umi/dist/features/routePrefetch/routePrefetch.js 912 B
./packages/preset-umi/dist/features/routePreloadOnLoad/routePreloadOnLoad.d.ts 262 B
./packages/preset-umi/dist/features/routePreloadOnLoad/routePreloadOnLoad.js 2.84 kB
./packages/preset-umi/dist/features/routePreloadOnLoad/utils.d.ts 367 B
./packages/preset-umi/dist/features/routePreloadOnLoad/utils.js 912 B
./packages/preset-umi/dist/features/routeProps/routeProps.d.ts 109 B
./packages/preset-umi/dist/features/routeProps/routeProps.js 635 B
./packages/preset-umi/dist/features/ssr/builder/assets-loader.d.ts 136 B
./packages/preset-umi/dist/features/ssr/builder/assets-loader.js 946 B
./packages/preset-umi/dist/features/ssr/builder/builder.d.ts 195 B
./packages/preset-umi/dist/features/ssr/builder/builder.js 1.67 kB
./packages/preset-umi/dist/features/ssr/builder/css-loader.d.ts 226 B
./packages/preset-umi/dist/features/ssr/builder/css-loader.js 1.12 kB
./packages/preset-umi/dist/features/ssr/builder/less-loader.d.ts 273 B
./packages/preset-umi/dist/features/ssr/builder/less-loader.js 1.88 kB
./packages/preset-umi/dist/features/ssr/builder/svg-loader.d.ts 144 B
./packages/preset-umi/dist/features/ssr/builder/svg-loader.js 641 B
./packages/preset-umi/dist/features/ssr/ssr.d.ts 109 B
./packages/preset-umi/dist/features/ssr/utils.d.ts 182 B
./packages/preset-umi/dist/features/ssr/utils.js 861 B
./packages/preset-umi/dist/features/ssr/webpack/webpack.d.ts 116 B
./packages/preset-umi/dist/features/ssr/webpack/webpack.js 1.4 kB
./packages/preset-umi/dist/features/swc/swc.d.ts 106 B
./packages/preset-umi/dist/features/swc/swc.js 686 B
./packages/preset-umi/dist/features/terminal/terminal.d.ts 106 B
./packages/preset-umi/dist/features/terminal/terminal.js 1.28 kB
./packages/preset-umi/dist/features/test/test.d.ts 106 B
./packages/preset-umi/dist/features/test/test.js 1.39 kB
./packages/preset-umi/dist/features/tmpFiles/configTypes.d.ts 106 B
./packages/preset-umi/dist/features/tmpFiles/configTypes.js 1.51 kB
./packages/preset-umi/dist/features/tmpFiles/getModuleExports.d.ts 109 B
./packages/preset-umi/dist/features/tmpFiles/getModuleExports.js 727 B
./packages/preset-umi/dist/features/tmpFiles/importsToStr.d.ts 100 B
./packages/preset-umi/dist/features/tmpFiles/importsToStr.js 627 B
./packages/preset-umi/dist/features/tmpFiles/routes.d.ts 281 B
./packages/preset-umi/dist/features/tmpFiles/routes.js 2.92 kB
./packages/preset-umi/dist/features/tmpFiles/tmpFiles.d.ts 106 B
./packages/preset-umi/dist/features/transform/babelPlugin.d.ts 198 B
./packages/preset-umi/dist/features/transform/babelPlugin.js 1.52 kB
./packages/preset-umi/dist/features/transform/CodeFrameError.d.ts 172 B
./packages/preset-umi/dist/features/transform/CodeFrameError.js 511 B
./packages/preset-umi/dist/features/transform/transform.d.ts 106 B
./packages/preset-umi/dist/features/transform/transform.js 1.15 kB
./packages/preset-umi/dist/features/ui/ui.d.ts 106 B
./packages/preset-umi/dist/features/ui/ui.js 9.9 kB
./packages/preset-umi/dist/features/vite/vite.d.ts 109 B
./packages/preset-umi/dist/features/vite/vite.js 1.01 kB
./packages/preset-umi/dist/features/webpack/webpack.d.ts 106 B
./packages/preset-umi/dist/features/webpack/webpack.js 1.11 kB
./packages/preset-umi/dist/index.d.ts 179 B
./packages/preset-umi/dist/index.js 1.48 kB
./packages/preset-umi/dist/libs/folderCache/AutoUpdateFolderCache.d.ts 372 B
./packages/preset-umi/dist/libs/folderCache/AutoUpdateFolderCache.js 1.33 kB
./packages/preset-umi/dist/libs/folderCache/AutoUpdateSourceCodeCache.d.ts 402 B
./packages/preset-umi/dist/libs/folderCache/AutoUpdateSourceCodeCache.js 1.93 kB
./packages/preset-umi/dist/libs/folderCache/constant.d.ts 72 B
./packages/preset-umi/dist/libs/folderCache/constant.js 622 B
./packages/preset-umi/dist/libs/folderCache/FolderWatch.d.ts 259 B
./packages/preset-umi/dist/libs/folderCache/FolderWatch.js 1.02 kB
./packages/preset-umi/dist/libs/folderCache/LazySourceCodeCache.d.ts 483 B
./packages/preset-umi/dist/libs/folderCache/LazySourceCodeCache.js 2.3 kB
./packages/preset-umi/dist/libs/folderCache/types.d.ts 165 B
./packages/preset-umi/dist/libs/folderCache/types.js 385 B
./packages/preset-umi/dist/libs/scan.d.ts 345 B
./packages/preset-umi/dist/libs/scan.js 2.25 kB
./packages/preset-umi/dist/registerMethods.d.ts 104 B
./packages/preset-umi/dist/registerMethods.js 1.95 kB
./packages/preset-umi/dist/types.d.ts 1.82 kB
./packages/preset-umi/dist/types.js 527 B
./packages/preset-umi/dist/utils/fileSizeReporter.d.ts 257 B
./packages/preset-umi/dist/utils/fileSizeReporter.js 2.23 kB
./packages/preset-umi/dist/utils/isTypeScriptFile.d.ts 84 B
./packages/preset-umi/dist/utils/isTypeScriptFile.js 530 B
./packages/preset-umi/dist/utils/lazyImportFromCurrentPkg.d.ts 140 B
./packages/preset-umi/dist/utils/lazyImportFromCurrentPkg.js 595 B
./packages/preset-umi/dist/utils/projectFileList.d.ts 112 B
./packages/preset-umi/dist/utils/projectFileList.js 672 B
./packages/preset-umi/dist/utils/routeExportExtractor.d.ts 224 B
./packages/preset-umi/dist/utils/routeExportExtractor.js 1.71 kB
./packages/preset-umi/dist/utils/transformIEAR.d.ts 394 B
./packages/preset-umi/dist/utils/transformIEAR.js 1.23 kB
./packages/preset-vue/compiled/@vitejs/plugin-vue/index.js 13.7 kB
./packages/preset-vue/dist/constants.d.ts 64 B
./packages/preset-vue/dist/constants.js 538 B
./packages/preset-vue/dist/features/config/assetRules.d.ts 190 B
./packages/preset-vue/dist/features/config/assetRules.js 685 B
./packages/preset-vue/dist/features/config/config.d.ts 146 B
./packages/preset-vue/dist/features/config/config.js 1.12 kB
./packages/preset-vue/dist/features/default.d.ts 105 B
./packages/preset-vue/dist/features/default.js 1.33 kB
./packages/preset-vue/dist/features/tmpFiles/tmpFiles.d.ts 105 B
./packages/preset-vue/dist/features/tmpFiles/tmpFiles.js 955 B
./packages/preset-vue/dist/features/vite/vite.d.ts 105 B
./packages/preset-vue/dist/features/vite/vite.js 897 B
./packages/preset-vue/dist/features/vueBabelLoaderCustomize.d.ts 177 B
./packages/preset-vue/dist/features/vueBabelLoaderCustomize.js 641 B
./packages/preset-vue/dist/features/webpack.d.ts 105 B
./packages/preset-vue/dist/features/webpack.js 631 B
./packages/preset-vue/dist/index.d.ts 139 B
./packages/preset-vue/dist/index.js 835 B
./packages/preset-vue/dist/requireHook.d.ts 80 B
./packages/preset-vue/dist/requireHook.js 1.05 kB
./packages/preset-vue/dist/utils/resolveProjectDep.d.ts 136 B
./packages/preset-vue/dist/utils/resolveProjectDep.js 991 B
./packages/renderer-react/dist/appContext.d.ts 433 B
./packages/renderer-react/dist/appContext.js 1.07 kB
./packages/renderer-react/dist/dataFetcher.d.ts 131 B
./packages/renderer-react/dist/dataFetcher.js 554 B
./packages/renderer-react/dist/index.d.ts 361 B
./packages/renderer-react/dist/index.js 347 B
./packages/renderer-react/dist/link.d.ts 199 B
./packages/renderer-react/dist/link.js 498 B
./packages/renderer-react/dist/routeContext.d.ts 167 B
./packages/renderer-react/dist/routeContext.js 145 B
./packages/renderer-react/dist/routes.d.ts 210 B
./packages/renderer-react/dist/routes.js 1.2 kB
./packages/renderer-react/dist/types.js 30 B
./packages/renderer-react/dist/useFetcher.d.ts 93 B
./packages/renderer-react/dist/useFetcher.js 205 B
./packages/renderer-react/dist/withRouter.d.ts 317 B
./packages/renderer-react/dist/withRouter.js 403 B
./packages/renderer-vue/dist/browser.d.ts 236 B
./packages/renderer-vue/dist/browser.js 723 B
./packages/renderer-vue/dist/index.d.ts 231 B
./packages/renderer-vue/dist/index.js 190 B
./packages/renderer-vue/dist/routes.d.ts 178 B
./packages/renderer-vue/dist/routes.js 609 B
./packages/renderer-vue/dist/types.d.ts 140 B
./packages/renderer-vue/dist/types.js 30 B
./packages/server/dist/index.d.ts 74 B
./packages/server/dist/index.js 568 B
./packages/server/dist/routes.d.ts 219 B
./packages/server/dist/routes.js 699 B
./packages/server/dist/scripts.d.ts 153 B
./packages/server/dist/scripts.js 1.01 kB
./packages/server/dist/server.d.ts 385 B
./packages/server/dist/server.js 2.09 kB
./packages/server/dist/styles.d.ts 155 B
./packages/server/dist/styles.js 1.01 kB
./packages/server/dist/types.js 374 B
./packages/testing/dist/index.d.ts 437 B
./packages/testing/dist/index.js 1.38 kB
./packages/testing/dist/resolver.js 242 B
./packages/testing/dist/transformers/esbuild/index.d.ts 150 B
./packages/testing/dist/transformers/esbuild/index.js 1.56 kB
./packages/testing/dist/transformers/esbuild/options.d.ts 110 B
./packages/testing/dist/transformers/esbuild/options.js 553 B
./packages/testing/dist/transformers/esbuild/requireHook.d.ts 65 B
./packages/testing/dist/transformers/esbuild/requireHook.js 942 B
./packages/testing/dist/transformers/esbuild/transformer.d.ts 163 B
./packages/testing/dist/transformers/esbuild/transformer.js 675 B
./packages/testing/dist/transformers/esbuild/type.d.ts 111 B
./packages/testing/dist/transformers/esbuild/type.js 387 B
./packages/umi/dist/cli/cli.d.ts 117 B
./packages/umi/dist/cli/cli.js 1.03 kB
./packages/umi/dist/cli/dev.d.ts 56 B
./packages/umi/dist/cli/dev.js 851 B
./packages/umi/dist/cli/fork.d.ts 156 B
./packages/umi/dist/cli/fork.js 1.09 kB
./packages/umi/dist/cli/forkedDev.d.ts 31 B
./packages/umi/dist/cli/forkedDev.js 474 B
./packages/umi/dist/constants.d.ts 172 B
./packages/umi/dist/constants.js 679 B
./packages/umi/dist/defineConfig.d.ts 267 B
./packages/umi/dist/defineConfig.js 496 B
./packages/umi/dist/defineMock.d.ts 210 B
./packages/umi/dist/defineMock.js 497 B
./packages/umi/dist/index.d.ts 187 B
./packages/umi/dist/index.js 657 B
./packages/umi/dist/pluginUtils.d.ts 162 B
./packages/umi/dist/pluginUtils.js 887 B
./packages/umi/dist/service/cwd.d.ts 62 B
./packages/umi/dist/service/cwd.js 588 B
./packages/umi/dist/service/requireHook.d.ts 31 B
./packages/umi/dist/service/requireHook.js 304 B
./packages/umi/dist/service/service.d.ts 165 B
./packages/umi/dist/service/service.js 1.2 kB
./packages/umi/dist/test-setup.d.ts 31 B
./packages/umi/dist/test-setup.js 109 B
./packages/umi/dist/test.d.ts 1.2 kB
./packages/umi/dist/test.js 1.04 kB
./packages/utils/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts 743 B
./packages/utils/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts 199 B
./packages/utils/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/types.d.ts 306 B
./packages/utils/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts 239 B
./packages/utils/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts 1.11 kB
./packages/utils/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/types.d.ts 712 B
./packages/utils/compiled/@ampproject/remapping/dist/types/remapping.d.ts 504 B
./packages/utils/compiled/@ampproject/remapping/dist/types/source-map.d.ts 318 B
./packages/utils/compiled/@ampproject/remapping/dist/types/types.d.ts 276 B
./packages/utils/compiled/@ampproject/remapping/index.js 6.5 kB
./packages/utils/compiled/@clack/prompts/dist/index.d.ts 465 B
./packages/utils/compiled/@clack/prompts/index.js 4.73 kB
./packages/utils/compiled/@hapi/joi/index.d.ts 17.1 kB
./packages/utils/compiled/@hapi/joi/index.js 52.3 kB
./packages/utils/compiled/address/index.js 1.19 kB
./packages/utils/compiled/address/lib/address.d.ts 285 B
./packages/utils/compiled/axios/index.d.ts 1.71 kB
./packages/utils/compiled/axios/index.js 10.8 kB
./packages/utils/compiled/chalk/index.d.ts 2.25 kB
./packages/utils/compiled/chalk/index.js 3.38 kB
./packages/utils/compiled/chalk/source/index.d.ts 1.74 kB
./packages/utils/compiled/chalk/source/vendor/supports-color/index.d.ts 464 B
./packages/utils/compiled/cheerio/domelementtype/lib/index.d.ts 501 B
./packages/utils/compiled/cheerio/domhandler/lib/index.d.ts 987 B
./packages/utils/compiled/cheerio/domhandler/lib/node.d.ts 1.33 kB
./packages/utils/compiled/cheerio/htmlparser2/lib/index.d.ts 669 B
./packages/utils/compiled/cheerio/htmlparser2/lib/Parser.d.ts 1.49 kB
./packages/utils/compiled/cheerio/htmlparser2/lib/Tokenizer.d.ts 1.75 kB
./packages/utils/compiled/cheerio/index.js 94.9 kB
./packages/utils/compiled/cheerio/lib/api/attributes.d.ts 1.96 kB
./packages/utils/compiled/cheerio/lib/api/css.d.ts 489 B
./packages/utils/compiled/cheerio/lib/api/forms.d.ts 422 B
./packages/utils/compiled/cheerio/lib/api/manipulation.d.ts 2.6 kB
./packages/utils/compiled/cheerio/lib/api/traversing.d.ts 3.69 kB
./packages/utils/compiled/cheerio/lib/cheerio.d.ts 803 B
./packages/utils/compiled/cheerio/lib/index.d.ts 772 B
./packages/utils/compiled/cheerio/lib/load.d.ts 1.15 kB
./packages/utils/compiled/cheerio/lib/options.d.ts 523 B
./packages/utils/compiled/cheerio/lib/static.d.ts 1.07 kB
./packages/utils/compiled/cheerio/lib/types.d.ts 561 B
./packages/utils/compiled/color/color-convert/conversions.d.ts 752 B
./packages/utils/compiled/color/color-convert/index.d.ts 561 B
./packages/utils/compiled/color/color-convert/route.d.ts 1.32 kB
./packages/utils/compiled/color/color-name/index.d.ts 935 B
./packages/utils/compiled/color/index.d.ts 1.04 kB
./packages/utils/compiled/color/index.js 8.4 kB
./packages/utils/compiled/cross-spawn/index.d.ts 466 B
./packages/utils/compiled/cross-spawn/index.js 2.97 kB
./packages/utils/compiled/debug/index.d.ts 623 B
./packages/utils/compiled/debug/index.js 4.47 kB
./packages/utils/compiled/debug/ms/index.d.ts 312 B
./packages/utils/compiled/deepmerge/index.d.ts 299 B
./packages/utils/compiled/deepmerge/index.js 967 B
./packages/utils/compiled/execa/index.d.ts 5 kB
./packages/utils/compiled/execa/index.js 7.58 kB
./packages/utils/compiled/fastest-levenshtein/index.js 783 B
./packages/utils/compiled/fastest-levenshtein/mod.d.ts 126 B
./packages/utils/compiled/filesize/filesize.d.ts 1.29 kB
./packages/utils/compiled/filesize/index.js 1.45 kB
./packages/utils/compiled/filesize/types/filesize.d.ts 316 B
./packages/utils/compiled/fs-extra/index.d.ts 4.66 kB
./packages/utils/compiled/fs-extra/index.js 9.7 kB
./packages/utils/compiled/fs-extra/jsonfile/index.d.ts 741 B
./packages/utils/compiled/glob/index.d.ts 899 B
./packages/utils/compiled/glob/index.js 11.2 kB
./packages/utils/compiled/glob/minimatch/index.d.ts 1.58 kB
./packages/utils/compiled/gzip-size/index.d.ts 825 B
./packages/utils/compiled/gzip-size/index.js 1.18 kB
./packages/utils/compiled/import-lazy/index.d.ts 386 B
./packages/utils/compiled/import-lazy/index.js 346 B
./packages/utils/compiled/lodash/common/array.d.ts 7.09 kB
./packages/utils/compiled/lodash/common/collection.d.ts 6.26 kB
./packages/utils/compiled/lodash/common/common.d.ts 4.32 kB
./packages/utils/compiled/lodash/common/date.d.ts 271 B
./packages/utils/compiled/lodash/common/function.d.ts 6.45 kB
./packages/utils/compiled/lodash/common/lang.d.ts 5.31 kB
./packages/utils/compiled/lodash/common/math.d.ts 1.47 kB
./packages/utils/compiled/lodash/common/number.d.ts 825 B
./packages/utils/compiled/lodash/common/object.d.ts 8.8 kB
./packages/utils/compiled/lodash/common/seq.d.ts 956 B
./packages/utils/compiled/lodash/common/string.d.ts 3.28 kB
./packages/utils/compiled/lodash/common/util.d.ts 5.29 kB
./packages/utils/compiled/lodash/index.d.ts 578 B
./packages/utils/compiled/lodash/index.js 28.6 kB
./packages/utils/compiled/magic-string/index.d.ts 2.38 kB
./packages/utils/compiled/magic-string/index.js 6.79 kB
./packages/utils/compiled/mustache/index.d.ts 2.88 kB
./packages/utils/compiled/mustache/index.js 3.06 kB
./packages/utils/compiled/pirates/index.d.ts 624 B
./packages/utils/compiled/pirates/index.js 1.13 kB
./packages/utils/compiled/pkg-up/index.d.ts 418 B
./packages/utils/compiled/pkg-up/index.js 1.73 kB
./packages/utils/compiled/portfinder/index.js 11.5 kB
./packages/utils/compiled/portfinder/lib/portfinder.d.ts 583 B
./packages/utils/compiled/prettier/index.d.ts 6.92 kB
./packages/utils/compiled/prettier/index.js 2.15 MB
./packages/utils/compiled/prompts/index.d.ts 1.29 kB
./packages/utils/compiled/prompts/index.js 20.7 kB
./packages/utils/compiled/resolve/index.d.ts 1.78 kB
./packages/utils/compiled/resolve/index.js 5.4 kB
./packages/utils/compiled/rimraf/glob/index.d.ts 888 B
./packages/utils/compiled/rimraf/index.d.ts 732 B
./packages/utils/compiled/rimraf/index.js 12.3 kB
./packages/utils/compiled/rimraf/minimatch/index.d.ts 1.58 kB
./packages/utils/compiled/semver/classes/comparator.d.ts 255 B
./packages/utils/compiled/semver/classes/range.d.ts 293 B
./packages/utils/compiled/semver/classes/semver.d.ts 459 B
./packages/utils/compiled/semver/functions/clean.d.ts 216 B
./packages/utils/compiled/semver/functions/cmp.d.ts 295 B
./packages/utils/compiled/semver/functions/coerce.d.ts 195 B
./packages/utils/compiled/semver/functions/compare-build.d.ts 330 B
./packages/utils/compiled/semver/functions/compare-loose.d.ts 136 B
./packages/utils/compiled/semver/functions/compare.d.ts 317 B
./packages/utils/compiled/semver/functions/diff.d.ts 232 B
./packages/utils/compiled/semver/functions/eq.d.ts 248 B
./packages/utils/compiled/semver/functions/gt.d.ts 172 B
./packages/utils/compiled/semver/functions/gte.d.ts 174 B
./packages/utils/compiled/semver/functions/inc.d.ts 272 B
./packages/utils/compiled/semver/functions/lt.d.ts 173 B
./packages/utils/compiled/semver/functions/lte.d.ts 174 B
./packages/utils/compiled/semver/functions/major.d.ts 181 B
./packages/utils/compiled/semver/functions/minor.d.ts 181 B
./packages/utils/compiled/semver/functions/neq.d.ts 188 B
./packages/utils/compiled/semver/functions/parse.d.ts 222 B
./packages/utils/compiled/semver/functions/patch.d.ts 182 B
./packages/utils/compiled/semver/functions/prerelease.d.ts 231 B
./packages/utils/compiled/semver/functions/rcompare.d.ts 235 B
./packages/utils/compiled/semver/functions/rsort.d.ts 224 B
./packages/utils/compiled/semver/functions/satisfies.d.ts 211 B
./packages/utils/compiled/semver/functions/sort.d.ts 222 B
./packages/utils/compiled/semver/functions/valid.d.ts 217 B
./packages/utils/compiled/semver/index.d.ts 1.3 kB
./packages/utils/compiled/semver/index.js 9.96 kB
./packages/utils/compiled/semver/internals/identifiers.d.ts 221 B
./packages/utils/compiled/semver/ranges/gtr.d.ts 232 B
./packages/utils/compiled/semver/ranges/intersects.d.ts 208 B
./packages/utils/compiled/semver/ranges/ltr.d.ts 228 B
./packages/utils/compiled/semver/ranges/max-satisfying.d.ts 272 B
./packages/utils/compiled/semver/ranges/min-satisfying.d.ts 271 B
./packages/utils/compiled/semver/ranges/min-version.d.ts 221 B
./packages/utils/compiled/semver/ranges/outside.d.ts 305 B
./packages/utils/compiled/semver/ranges/simplify.d.ts 404 B
./packages/utils/compiled/semver/ranges/subset.d.ts 202 B
./packages/utils/compiled/semver/ranges/to-comparators.d.ts 204 B
./packages/utils/compiled/semver/ranges/valid.d.ts 207 B
./packages/utils/compiled/strip-ansi/index.d.ts 237 B
./packages/utils/compiled/strip-ansi/index.js 567 B
./packages/utils/compiled/tar/index.d.ts 5.99 kB
./packages/utils/compiled/tar/index.js 26.4 kB
./packages/utils/compiled/tar/minipass/index.d.ts 1.5 kB
./packages/utils/compiled/tsconfig-paths/index.js 12.6 kB
./packages/utils/compiled/tsconfig-paths/lib/index.d.ts 205 B
./packages/utils/compiled/yargs-parser/index.d.ts 1.91 kB
./packages/utils/compiled/yargs-parser/index.js 5.94 kB
./packages/utils/compiled/zod/index.d.ts 64 B
./packages/utils/compiled/zod/index.js 13.6 kB
./packages/utils/compiled/zod/lib/__tests__/Mocker.d.ts 202 B
./packages/utils/compiled/zod/lib/benchmarks/discriminatedUnion.d.ts 107 B
./packages/utils/compiled/zod/lib/benchmarks/index.d.ts 31 B
./packages/utils/compiled/zod/lib/benchmarks/object.d.ts 107 B
./packages/utils/compiled/zod/lib/benchmarks/primitives.d.ts 107 B
./packages/utils/compiled/zod/lib/benchmarks/realworld.d.ts 107 B
./packages/utils/compiled/zod/lib/benchmarks/string.d.ts 107 B
./packages/utils/compiled/zod/lib/benchmarks/union.d.ts 107 B
./packages/utils/compiled/zod/lib/errors.d.ts 140 B
./packages/utils/compiled/zod/lib/external.d.ts 96 B
./packages/utils/compiled/zod/lib/helpers/enumUtil.d.ts 284 B
./packages/utils/compiled/zod/lib/helpers/errorUtil.d.ts 152 B
./packages/utils/compiled/zod/lib/helpers/parseUtil.d.ts 757 B
./packages/utils/compiled/zod/lib/helpers/partialUtil.d.ts 338 B
./packages/utils/compiled/zod/lib/helpers/typeAliases.d.ts 122 B
./packages/utils/compiled/zod/lib/helpers/util.d.ts 754 B
./packages/utils/compiled/zod/lib/index.d.ts 82 B
./packages/utils/compiled/zod/lib/locales/en.d.ts 93 B
./packages/utils/compiled/zod/lib/types.d.ts 8.41 kB
./packages/utils/compiled/zod/lib/ZodError.d.ts 1.5 kB
./packages/utils/dist/aliasUtils/getAliasValue.d.ts 123 B
./packages/utils/dist/aliasUtils/getAliasValue.js 1.03 kB
./packages/utils/dist/aliasUtils/index.d.ts 80 B
./packages/utils/dist/aliasUtils/index.js 544 B
./packages/utils/dist/aliasUtils/parseCircleAlias.d.ts 122 B
./packages/utils/dist/aliasUtils/parseCircleAlias.js 935 B
./packages/utils/dist/BaseGenerator/BaseGenerator.d.ts 295 B
./packages/utils/dist/BaseGenerator/BaseGenerator.js 1.08 kB
./packages/utils/dist/BaseGenerator/generateFile.d.ts 215 B
./packages/utils/dist/BaseGenerator/generateFile.js 798 B
./packages/utils/dist/Generator/Generator.d.ts 332 B
./packages/utils/dist/Generator/Generator.js 1.39 kB
./packages/utils/dist/getCorejsVersion.d.ts 85 B
./packages/utils/dist/getCorejsVersion.js 653 B
./packages/utils/dist/getDevBanner.d.ts 137 B
./packages/utils/dist/getDevBanner.js 1.35 kB
./packages/utils/dist/getFileGitIno.d.ts 406 B
./packages/utils/dist/getFileGitIno.js 1.45 kB
./packages/utils/dist/getGitInfo.d.ts 127 B
./packages/utils/dist/getGitInfo.js 849 B
./packages/utils/dist/importLazy.d.ts 223 B
./packages/utils/dist/importLazy.js 802 B
./packages/utils/dist/index.d.ts 789 B
./packages/utils/dist/index.js 1.89 kB
./packages/utils/dist/installDeps.d.ts 152 B
./packages/utils/dist/installDeps.js 1.14 kB
./packages/utils/dist/isJavaScriptFile.d.ts 82 B
./packages/utils/dist/isJavaScriptFile.js 543 B
./packages/utils/dist/isLocalDev.d.ts 114 B
./packages/utils/dist/isLocalDev.js 602 B
./packages/utils/dist/isMonorepo.d.ts 106 B
./packages/utils/dist/isMonorepo.js 704 B
./packages/utils/dist/isStyleFile.d.ts 152 B
./packages/utils/dist/isStyleFile.js 613 B
./packages/utils/dist/logger.d.ts 224 B
./packages/utils/dist/logger.js 2.01 kB
./packages/utils/dist/node.d.ts 139 B
./packages/utils/dist/node.js 801 B
./packages/utils/dist/npmClient.d.ts 222 B
./packages/utils/dist/npmClient.js 1.31 kB
./packages/utils/dist/printHelp.d.ts 79 B
./packages/utils/dist/printHelp.js 1.13 kB
./packages/utils/dist/randomColor/randomColor.d.ts 137 B
./packages/utils/dist/randomColor/randomColor.js 866 B
./packages/utils/dist/readDirFiles.d.ts 146 B
./packages/utils/dist/readDirFiles.js 808 B
./packages/utils/dist/register.d.ts 137 B
./packages/utils/dist/register.js 1.03 kB
./packages/utils/dist/setNoDeprecation.d.ts 68 B
./packages/utils/dist/setNoDeprecation.js 506 B
./packages/utils/dist/tryPaths.d.ts 82 B
./packages/utils/dist/tryPaths.js 539 B
./packages/utils/dist/updatePackageJSON.d.ts 127 B
./packages/utils/dist/updatePackageJSON.js 899 B
./packages/utils/dist/winPath.d.ts 67 B
./packages/utils/dist/winPath.js 550 B
./packages/utils/dist/zod/isZodSchema.d.ts 128 B
./packages/utils/dist/zod/isZodSchema.js 511 B
./packages/zod2ts/dist/index.d.ts 52 B
./packages/zod2ts/dist/index.js 501 B
./packages/zod2ts/dist/types.d.ts 187 B
./packages/zod2ts/dist/types.js 374 B
./packages/zod2ts/dist/zod.d.ts 103 B
./packages/zod2ts/dist/zod.js 1.66 kB

compressed-size-action

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 0% with 138 lines in your changes are missing coverage. Please review.

Project coverage is 28.23%. Comparing base (3de4a38) to head (20c4472).
Report is 6 commits behind head on feature/new-unio-ssr.

❗ Current head 20c4472 differs from pull request most recent head 7298ff5. Consider uploading reports for the commit 7298ff5 to get more accurate results

Files Patch % Lines
packages/server/src/ssr.ts 0.00% 68 Missing and 4 partials ⚠️
packages/renderer-react/src/html.tsx 0.00% 48 Missing and 1 partial ⚠️
packages/renderer-react/src/server.tsx 0.00% 6 Missing ⚠️
...kages/preset-umi/src/features/tmpFiles/tmpFiles.ts 0.00% 4 Missing ⚠️
packages/renderer-react/src/browser.tsx 0.00% 4 Missing ⚠️
...ckages/preset-umi/src/commands/dev/getBabelOpts.ts 0.00% 1 Missing ⚠️
packages/renderer-react/src/types.ts 0.00% 1 Missing ⚠️
packages/server/src/types.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                    @@
##           feature/new-unio-ssr   #12220      +/-   ##
========================================================
- Coverage                 28.41%   28.23%   -0.19%     
========================================================
  Files                       492      493       +1     
  Lines                     15168    15266      +98     
  Branches                   3627     3667      +40     
========================================================
  Hits                       4310     4310              
- Misses                    10086    10179      +93     
- Partials                    772      777       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jinbao1001 Jinbao1001 changed the title Jinbao/patch 2 feat: support ssr Mar 21, 2024
Copy link
Member

@PeachScript PeachScript left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examples/ssr-demo/.umirc.ts Outdated Show resolved Hide resolved
examples/ssr-demo/src/pages/index.tsx Outdated Show resolved Hide resolved
examples/boilerplate/app.tsx Outdated Show resolved Hide resolved
packages/preset-umi/src/features/tmpFiles/tmpFiles.ts Outdated Show resolved Hide resolved
packages/renderer-react/src/browser.tsx Outdated Show resolved Hide resolved
packages/preset-umi/templates/server.tpl Outdated Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
examples/ssr-demo/.umirc.ts Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
packages/server/src/server.ts Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
packages/server/src/ssr.ts Outdated Show resolved Hide resolved
packages/server/package.json Outdated Show resolved Hide resolved
examples/ssr-demo/.umirc.ts Show resolved Hide resolved
@fz6m
Copy link
Contributor

fz6m commented Mar 24, 2024

  1. 需要添加 example ,包括开启 hydrateHtml 和不开启,为了检验他们能不能跑起来。

  2. 需要确认目前存在的请求函数 createMarkupGenerator / createRequestHandler / createUmiHandler 是否会被影响,来源 fix(ssr): render same root in server #12002 (comment)

  3. PR 标题需要调整为更具体的语义化说明。

@fz6m
Copy link
Contributor

fz6m commented Mar 24, 2024

此 PR 因为评论太多了,可能影响在网页上查看变化的代码,如果太乱的话新开一个 PR 也可以。

因为可能需要改动的地方比较多,后续如有必要,我有时间时可以协助修订。

// TODO: 处理 head 标签,比如 favicon.ico 的一致性
// TODO: root 支持配置
return (
<html lang={metadata?.lang || 'en'}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lang 不能用 metadata 的配置了,客户端没有,水合会报错

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

线下讨论:Umi 加 htmlLang: string or lang: string 静态配置,不允许通过 metadataLoader 来改,后续调研下 Next.js 的做法,因为只是 warning 暂时不急

Copy link

coderabbitai bot commented Mar 28, 2024

Important

Auto Review Skipped

Auto reviews are disabled on base/target branches other than the default branch. Please add the base/target branch pattern to the list of additional branches to be reviewed in the settings.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository.

To trigger a single review, invoke the @coderabbitai review command.

Walkthrough

The recent updates aim to enhance server-side rendering (SSR) capabilities by introducing new properties like hydrateFromRoot and hydrateFromHtml, refining HTML hydration, improving metadata and script handling, and updating configurations and templates for a more flexible and powerful SSR solution supporting dynamic content and resources.

Changes

Files Summary
ssr.ts
browser.tsx
ssr.ts
Added hydrateFromHtml property for improved HTML hydration.
tmpFiles.ts Enhanced temporary file generation with specific properties extraction and JSON write operations.
server.tpl
server.tsx
Updated template generation with new properties like metadata, hydrateFromRoot, and hydrateFromHtml. Deprecated renderRoot and serverLoader.
html.tsx Introduced Html component for dynamic HTML generation with metadata and resource loading support.
types.ts Added new interfaces and types to accommodate changes and extensions.
server.ts Removed an empty line for code cleanliness.

🐰✨

In the land of code, where the bits align,
A leap towards SSR, so sleek and fine.
Metadata, scripts, in harmony they twine,
With hydrateFromHtml, the pages shine.
Oh, how the web dances, oh so divine,
Thanks to the rabbits, in the moonlight dine.
🌕🚀🐰✨

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between c25493e and a792b3b.
Files ignored due to path filters (2)
  • packages/server/package.json is excluded by !**/*.json
  • pnpm-lock.yaml is excluded by !**/*.yaml
Files selected for processing (11)
  • examples/ssr-demo/.umirc.ts (1 hunks)
  • packages/preset-umi/src/features/ssr/ssr.ts (1 hunks)
  • packages/preset-umi/src/features/tmpFiles/tmpFiles.ts (2 hunks)
  • packages/preset-umi/templates/server.tpl (1 hunks)
  • packages/renderer-react/src/browser.tsx (3 hunks)
  • packages/renderer-react/src/html.tsx (1 hunks)
  • packages/renderer-react/src/server.tsx (2 hunks)
  • packages/renderer-react/src/types.ts (2 hunks)
  • packages/server/src/server.ts (1 hunks)
  • packages/server/src/ssr.ts (6 hunks)
  • packages/server/src/types.ts (2 hunks)
Files skipped from review due to trivial changes (1)
  • packages/server/src/server.ts
Additional comments (16)
examples/ssr-demo/.umirc.ts (2)
  • 7-27: Consider using meaningful values for the example configuration options. For instance, instead of name: 'test', use a more descriptive name that aligns with common front-end concepts, like name: 'description'. Additionally, ensure that URLs used in the configuration (e.g., https://a.com/b.js, https://a.com/b.css, https://www.baidu.com) are valid and won't cause errors when loading the demo. It's important for examples to be functional and error-free to serve as a reliable reference for users.
  • 10-11: The hydrateFromHtml option is set to true, which aligns with the PR's objective to enhance SSR hydration. Ensure that this setting is consistently applied across all examples and documentation to avoid confusion.
packages/renderer-react/src/server.tsx (1)
  • 53-57: The conditional rendering logic based on the hydrateFromHtml option is correctly implemented. This allows for flexibility in how the application is hydrated, catering to different SSR scenarios. Ensure that this behavior is well-documented, so users understand when and how to use the hydrateFromHtml option effectively.
packages/renderer-react/src/types.ts (1)
  • 46-74: The addition of IRootComponentOptions, IHtmlProps, and IScript interfaces/types supports the new SSR features well. These changes enhance the framework's ability to handle diverse SSR scenarios. Ensure that these interfaces are used consistently across the codebase and that their properties are adequately documented for developers.
packages/server/src/types.ts (2)
  • 1-23: The introduction of the IOpts interface adds a structured way to define server-side rendering options. However, ensure that types such as styles and favicons are correctly defined to match their actual usage in the server logic. It's important that these types accurately reflect the data they're intended to represent, including the possibility of being either a string or an object with specific properties.
  • 65-69: The update to the IMetadata interface to include properties from IOpts is a good approach to ensure consistency across the server and client sides. Make sure that the documentation clearly explains how these properties are used and how they affect the rendering process, especially for new users of the framework.
packages/preset-umi/templates/server.tpl (1)
  • 54-56: The inclusion of metadata, scripts, and hydrateFromHtml in the createOpts object aligns with the PR's objectives to enhance SSR functionality. Ensure that these options are properly documented and examples are provided to demonstrate their usage. This will help developers understand how to leverage these new capabilities in their applications.
packages/renderer-react/src/html.tsx (1)
  • 39-115: The Html component is well-structured and plays a crucial role in enabling dynamic HTML document customization based on user-provided props. Ensure that the handling of metadata, scripts, styles, and other elements is consistent and efficient. Also, consider the impact of using dangerouslySetInnerHTML and ensure it's used safely to prevent XSS vulnerabilities.
packages/preset-umi/src/features/ssr/ssr.ts (1)
  • 30-30: The addition of the hydrateFromHtml property to the SSR configuration schema is a significant enhancement, allowing developers to control the hydration process more granely. Ensure that this property is well-documented, including examples of when to set it to true or false, to help developers understand its impact on their applications.
packages/renderer-react/src/browser.tsx (2)
  • 99-103: The addition of the hydrateFromHtml option in RenderClientOpts provides flexibility in controlling the hydration process. It's important to ensure that this option is clearly documented, explaining its default behavior and how it affects the rendering process. This will help developers make informed decisions when configuring their SSR applications.
  • 343-348: The update to use ReactDOM.hydrateRoot with the Html component and the hydrateFromHtml option is correctly implemented. This change aligns with the enhancements introduced in the PR for optimizing the hydration mechanism. Ensure that the implications of this change are thoroughly tested, especially in scenarios where hydrateFromHtml is set to false.
packages/server/src/ssr.ts (4)
  • 1-1: The addition of mergeWith from 'lodash.mergewith' is appropriate for merging objects with custom logic. Ensure that lodash.mergewith is included in the project's dependencies to avoid runtime errors.
  • 41-43: The metadata, scripts, and hydrateFromHtml properties have been added to CreateRequestHandlerOptions. It's important to ensure that these properties are documented and their types are correctly defined in IOpts to maintain type safety and clarity for developers.
  • 129-145: The use of mergeWith to merge metadataLoaderData with opts.metadata is a good approach for combining metadata from different sources. However, ensure that the custom merge function correctly handles all expected data types, not just arrays, to avoid unexpected behavior.
  • 164-164: The hydrateFromHtml property is correctly passed to the context object. This is crucial for controlling the hydration behavior based on the configuration. Ensure that this property is properly handled in the client-side rendering logic to respect the server-side configuration.
packages/preset-umi/src/features/tmpFiles/tmpFiles.ts (1)
  • 496-511: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [499-536]

The extraction and writing of headScripts, scripts, styles, title, favicons, links, metas, and hydrateFromHtml properties to a temporary file is a significant change. Ensure that all these properties are correctly extracted from api.config and that the JSON structure in the temporary file matches the expected format for further processing. Additionally, consider validating the presence and types of these properties to avoid runtime errors.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between a792b3b and 024729a.
Files ignored due to path filters (2)
  • packages/server/package.json is excluded by !**/*.json
  • pnpm-lock.yaml is excluded by !**/*.yaml
Files selected for processing (2)
  • packages/preset-umi/src/commands/dev/getBabelOpts.ts (1 hunks)
  • packages/preset-umi/src/features/routePreloadOnLoad/routePreloadOnLoad.ts (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/preset-umi/src/features/routePreloadOnLoad/routePreloadOnLoad.ts
Additional comments (1)
packages/preset-umi/src/commands/dev/getBabelOpts.ts (1)
  • 6-9: The adjustment in formatting for the shouldUseAutomaticRuntime comparison operation enhances readability without altering the logic. This is a good practice for maintaining code clarity, especially in complex conditional checks.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review Status

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 024729a and c973bb7.
Files selected for processing (10)
  • examples/ssr-demo/.umirc.ts (1 hunks)
  • packages/preset-umi/src/features/ssr/ssr.ts (1 hunks)
  • packages/preset-umi/src/features/tmpFiles/tmpFiles.ts (3 hunks)
  • packages/preset-umi/templates/server.tpl (1 hunks)
  • packages/renderer-react/src/browser.tsx (3 hunks)
  • packages/renderer-react/src/html.tsx (1 hunks)
  • packages/renderer-react/src/server.tsx (2 hunks)
  • packages/renderer-react/src/types.ts (2 hunks)
  • packages/server/src/ssr.ts (9 hunks)
  • packages/server/src/types.ts (2 hunks)
Files skipped from review as they are similar to previous changes (9)
  • examples/ssr-demo/.umirc.ts
  • packages/preset-umi/src/features/ssr/ssr.ts
  • packages/preset-umi/src/features/tmpFiles/tmpFiles.ts
  • packages/preset-umi/templates/server.tpl
  • packages/renderer-react/src/browser.tsx
  • packages/renderer-react/src/html.tsx
  • packages/renderer-react/src/server.tsx
  • packages/renderer-react/src/types.ts
  • packages/server/src/types.ts
Additional Context Used
Additional comments not posted (7)
packages/server/src/ssr.ts (7)

8-8: The import for mergeWith from 'lodash.mergewith' is mentioned in the summary but not visible in the provided code. Ensure it's used appropriately if it's indeed part of the changes, or remove it if not needed.


129-141: The logic for merging metadataLoaderData into opts.metadata uses a direct assignment for non-array values and concatenation for arrays. This approach might not handle deep merging of objects correctly. Consider using a deep merge utility if nested object merging is required.

Consider using a deep merge utility like lodash.merge for complex object structures to ensure all nested properties are correctly merged.


159-160: The assignment of metadata and hydrateFromRoot (should be hydrateFromHtml as per previous comment) directly from opts to context is straightforward. Ensure that hydrateFromHtml is correctly utilized downstream to control hydration behavior as intended.

Ensure the hydrateFromHtml property is correctly utilized in the hydration logic and that its true/false states are handled as expected.


250-254: The introduction of IExpressRequestHandlerArgs and IWorkerRequestHandlerArgs types is a good practice for clarifying the function signatures and improving code readability. Ensure these types are correctly applied in all relevant places.


260-383: The normalizeHandlerArgs function is a significant addition that abstracts the handling of different request handler arguments for Express and worker modes. This abstraction improves code modularity and readability. However, ensure thorough testing, especially around the branching logic for different modes and the correct assignment of request properties.


427-438: The deprecation warning in createUmiHandler is a good practice for informing users about outdated methods. Ensure that all documentation and examples are updated to reflect this change and guide users towards the new preferred method.

Update documentation and examples to reflect the deprecation of renderRoot and promote the use of requestHandler instead.


461-469: Similar to the previous comment, the deprecation warning in createUmiServerLoader is important for guiding users away from deprecated methods. Again, ensure documentation and examples are updated accordingly.

Ensure all references to serverLoader in documentation and examples are updated to encourage the use of requestHandler.

packages/server/src/ssr.ts Outdated Show resolved Hide resolved
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review Status

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between c973bb7 and ad5122e.
Files selected for processing (1)
  • packages/renderer-react/src/browser.tsx (3 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/renderer-react/src/browser.tsx
Additional Context Used

@PeachScript PeachScript changed the base branch from master to feature/new-unio-ssr April 1, 2024 05:59
@PeachScript PeachScript changed the title feat: support ssr fix: metadata and hydrate root mismatched between csr and ssr Apr 1, 2024
<meta key={em.name} name={em.name} content={em.content} />
))}

{metadata?.links?.map((link: Record<string, string>, key: number) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后续限制一下,不允许通过 metadataLoader 设置非 tdk 的配置

metadata,
renderFromRoot,
}: React.PropsWithChildren<IHtmlProps>) {
// TODO: 处理 head 标签,比如 favicon.ico 的一致性
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后续删掉 TODO

@PeachScript PeachScript merged commit c9530cf into feature/new-unio-ssr Apr 1, 2024
22 of 23 checks passed
@delete-merged-branch delete-merged-branch bot deleted the jinbao/patch-2 branch April 1, 2024 06:52
Copy link

github-actions bot commented Apr 1, 2024

感谢 PR!如果有兴趣一起参与维护 Umi,可加入我们的 Umi Contributor 群。加入方式是先用钉钉扫下方二维码加我钉钉,记得注明 github id,然后我会拉你到群里。

Jinbao1001 added a commit that referenced this pull request Jun 27, 2024
* feat(preset-umi): unify request handler for ssr and always use stream (#12229)

* refactor(preset): improve types for ssr request handler

* refactor(preset-umi): provide unified request handler for ssr

* refactor: add stream response header

* refactor: correct ts lib usage

* chore: update comment

* refactor: warn for deprecated ssr exports

* refactor: async-able for worker ssr request handler

* refactor: update worker mode condition

* refactor: type correct

* feat: SSR support useServerInsertedHTML (#12247)

* feat: SSR support useServerInsertedHTML

* feat: ssr insert html

* fix: string template

* chore: update lock

* fix: metadata and hydrate root mismatched between csr and ssr (#12220)

* feat: ssr支持head body 配置

* feat: support ssr

* fix: 回退metaloader执行逻辑判断

* fix: ts lint

* feat: 优化部分ssr代码

* feat: add client metadata hydrate data

* docs: hydtateFromRoot doc 修正

* fix: delete merge.with deps

* fix: delete merge.with deps

* fix: change hydrateFromRoot root to renderFromRoot

* fix: NormalizeMeta component for render root

* fix: NormalizeMeta component for render root

---------

Co-authored-by: xiaoxiao <[email protected]>
Co-authored-by: Jinbao1001 <[email protected]>

* fix: hydrate logic for ssr (#12255)

* feat: ssr支持head body 配置

* feat: support ssr

* fix: 回退metaloader执行逻辑判断

* fix: ts lint

* feat: 优化部分ssr代码

* feat: add client metadata hydrate data

* docs: hydtateFromRoot doc 修正

* fix: delete merge.with deps

* fix: delete merge.with deps

* fix: change hydrateFromRoot root to renderFromRoot

* fix: NormalizeMeta component for render root

* fix: NormalizeMeta component for render root

* fix: hydrate 遗留问题处理

* fix: ts-ignore window.__

* fix: 空格

* fix: lint

---------

Co-authored-by: xiaoxiao <[email protected]>
Co-authored-by: Jinbao1001 <[email protected]>

* release: 4.0.0-canary.20240402.1

* fix: wrong react-dom server api for worker ssr mode (#12263)

* fix: wrong react-dom server api for worker ssr mode

* refactor: rename config

* refactor: correct logic

* fix: locked stream in ssr

* feat: align compile time and runtime plugin api between csr and ssr (#12279)

* feat: ssr支持head body 配置

* feat: support ssr

* fix: 回退metaloader执行逻辑判断

* fix: ts lint

* feat: 优化部分ssr代码

* feat: add client metadata hydrate data

* docs: hydtateFromRoot doc 修正

* fix: delete merge.with deps

* fix: delete merge.with deps

* fix: change hydrateFromRoot root to renderFromRoot

* fix: NormalizeMeta component for render root

* fix: NormalizeMeta component for render root

* fix: hydrate 遗留问题处理

* fix: ts-ignore window.__

* fix: 空格

* fix: lint

* feat: addEntryCode to ssr and share the pluginManager

* fix: curry and createPluginManager

* feat: 提取公共 request 方法

* fix: serverloaderRequest

* fix: serverloaderRequest

* fix: serverloaderRequest

* fix: serverloaderRequest

* fix: curry

* fix: curry

* fix: 补充importsAhead and imports

* fix: 条件判断更换

* fix: 代码优化

* fix: tslint

* fix: tslint

* fix: async function export

* fix: add g_umi export and some fixded

* fix: string export

* fix: await clientroutePatch

* feat: patchClientRoutes to async

* fix: ssr禁用 inintial state loading

* feat: 提供render钩子给主应用执行

* feat: 提供render钩子给主应用执行

* feat: 提供render钩子给主应用执行

* feat: to async

* feat: stream render 钩子

* fix: 修改render执行时机

* fix: 移出otherwise逻辑

---------

Co-authored-by: xiaoxiao <[email protected]>
Co-authored-by: Jinbao1001 <[email protected]>

* feat: qiankun plugin compatible with ssr runtime (#12295)

* feat: qiankun 插件支持 ssr

* fix: cr

* fix: 修改 external 的机制

* fix: 增加 ssr render 后,处理 qiankun 的生命周期

* feat: use prerender html directly in ssg (#12317)

* feat: use prerender html directly in ssg

* fix: ssg

* fix: add bootstrap script

* chore: 优先从环境变量读取 manifest 路径 (#12354)

* fix: ssr manifest 正确读取环境变量 (#12357)

* fix: ssr manifest 正确读取环境变量

* chore: 新增 ssr 黑盒变量 SSR_RESOURCE_DIR

* refactor: improve platform checking logic for qiankun slave (#12331)

* feat: qiankun 插件支持 ssr

* fix: cr

* fix: 修改 external 的机制

* fix: 增加 ssr render 后,处理 qiankun 的生命周期

* fix: qiankun slave ssr

* fix: change ssr to isServer

* chore: use process.env.SSR_RESOURCE_DIR replace SSR_RESOURCE_DIR (#12370)

* chore: use process.env.ssr_manifest

* chore: fomatcode

* feat: provide useLoaderData for fallback serverLoader (#12339)

* fix: ssr downgrade init

* feat: add deprecated

* chore: 代码优化

* fix: woker don't need to inject umi.js

* chore: renderFromRoot to __SPECIAL_HTML_DO_NOT_USE_OR_YOU_WILL_BE_FIRED (#12384)

* refactor: add renderFromRoot for tern theme (#12385)

* feat: mako for ssr (#12409)

* fix: ssr mako init

* chore: 删除冗余webpack配置代码

* feat: finish mako bundler for ssr

* feat: generator manifest

* refactor: mako outputpath use bundler-webpack default value

* feat: add mako hooks (#12412)

* refactor(preset-umi): handle illegal route absPath in route preload (#12363)

* refactor(preset-umi): handle unexpected route absPath in route preload

* chore: correct logic

* fix: renderClient opts miss internal vars (#12419)

* release: 4.2.6-alpha.1

* release: 4.2.6-alpha.2

* release: 4.2.6-alpha.3

* release: 4.2.6-alpha.4

* feat: mako build and ssr finished

* chore: delete code

* chore: update lock

* chore: update lock

* chore: update lock

* chore: update lock

* chore: change plugins to makoPlugins

* chore(deps): update mako version

---------

Co-authored-by: Peach <[email protected]>
Co-authored-by: MadCcc <[email protected]>
Co-authored-by: xiaoxiao <[email protected]>
Co-authored-by: Jinbao1001 <[email protected]>
Co-authored-by: Bravepg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants