@modern-js/main-doc 2.4.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/LICENSE +0 -123
  3. package/README.md +26 -0
  4. package/en/apis/app/commands.mdx +297 -0
  5. package/en/apis/app/hooks/_category_.json +2 -5
  6. package/en/apis/app/hooks/api/framework/lambda.mdx +1 -1
  7. package/en/apis/app/hooks/api/functions/api.mdx +1 -1
  8. package/en/apis/app/hooks/server/index_.mdx +2 -1
  9. package/en/apis/app/hooks/src/pages.mdx +7 -7
  10. package/en/apis/app/hooks/src/routes.mdx +3 -3
  11. package/en/apis/app/runtime/_category_.json +1 -5
  12. package/en/apis/app/runtime/app/define-config.mdx +2 -2
  13. package/en/apis/app/runtime/core/bootstrap.mdx +1 -1
  14. package/en/apis/app/runtime/core/create-app.mdx +2 -2
  15. package/en/apis/app/runtime/core/use-loader.mdx +4 -4
  16. package/en/apis/app/runtime/core/use-module-apps.mdx +2 -2
  17. package/en/apis/app/runtime/model/Provider.mdx +2 -2
  18. package/en/apis/app/runtime/model/auto-actions.mdx +2 -2
  19. package/en/apis/app/runtime/model/connect.mdx +5 -5
  20. package/en/apis/app/runtime/model/create-app.mdx +9 -9
  21. package/en/apis/app/runtime/model/create-store.mdx +3 -3
  22. package/en/apis/app/runtime/model/handle-effect.mdx +2 -2
  23. package/en/apis/app/runtime/model/model_.mdx +1 -1
  24. package/en/apis/app/runtime/model/use-local-model.mdx +1 -1
  25. package/en/apis/app/runtime/model/use-model.mdx +1 -1
  26. package/en/apis/app/runtime/model/use-static-model.mdx +4 -4
  27. package/en/apis/app/runtime/model/use-store.mdx +1 -1
  28. package/en/apis/app/runtime/router/router.mdx +1 -1
  29. package/en/apis/app/runtime/ssr/pre-render.mdx +1 -1
  30. package/en/apis/app/runtime/testing/render.mdx +1 -1
  31. package/en/apis/app/runtime/testing/renderApp.mdx +1 -1
  32. package/en/apis/app/runtime/utility/css-in-js.mdx +1 -1
  33. package/en/apis/app/runtime/utility/loadable.mdx +1 -1
  34. package/en/apis/app/runtime/web-server/hook.mdx +5 -5
  35. package/en/apis/app/runtime/web-server/middleware.mdx +6 -6
  36. package/en/components/global-proxy-config.mdx +3 -3
  37. package/en/components/init-app.mdx +5 -5
  38. package/en/configure/app/bff/_category_.json +4 -0
  39. package/en/configure/app/bff/prefix.mdx +2 -3
  40. package/en/configure/app/bff/proxy.mdx +1 -1
  41. package/en/configure/app/builder-plugins.mdx +3 -3
  42. package/en/configure/app/deploy/_category_.json +4 -0
  43. package/en/configure/app/dev/_category_.json +4 -0
  44. package/en/configure/app/dev/asset-prefix.mdx +1 -1
  45. package/en/configure/app/dev/before-start-url.mdx +13 -0
  46. package/en/configure/app/dev/hmr.mdx +1 -1
  47. package/en/configure/app/dev/host.mdx +13 -0
  48. package/en/configure/app/dev/https.mdx +1 -1
  49. package/en/configure/app/dev/port.mdx +1 -1
  50. package/en/configure/app/dev/progress-bar.mdx +1 -1
  51. package/en/configure/app/dev/start-url.mdx +1 -1
  52. package/en/configure/app/experiments/_category_.json +4 -0
  53. package/en/configure/app/experiments/lazy-compilation.mdx +1 -1
  54. package/en/configure/app/html/_category_.json +4 -0
  55. package/en/configure/app/html/app-icon.mdx +1 -1
  56. package/en/configure/app/html/crossorigin.mdx +1 -1
  57. package/en/configure/app/html/disable-html-folder.mdx +1 -1
  58. package/en/configure/app/html/favicon-by-entries.mdx +1 -1
  59. package/en/configure/app/html/favicon.mdx +1 -1
  60. package/en/configure/app/html/inject-by-entries.mdx +1 -1
  61. package/en/configure/app/html/inject.mdx +1 -1
  62. package/en/configure/app/html/meta-by-entries.mdx +1 -1
  63. package/en/configure/app/html/meta.mdx +1 -1
  64. package/en/configure/app/html/mount-id.mdx +1 -1
  65. package/en/configure/app/html/tags-by-entries.mdx +1 -1
  66. package/en/configure/app/html/tags.mdx +1 -1
  67. package/en/configure/app/html/template-by-entries.mdx +1 -1
  68. package/en/configure/app/html/template-parameters-by-entries.mdx +1 -1
  69. package/en/configure/app/html/template-parameters.mdx +1 -1
  70. package/en/configure/app/html/template.mdx +1 -1
  71. package/en/configure/app/html/title-by-entries.mdx +1 -1
  72. package/en/configure/app/html/title.mdx +1 -1
  73. package/en/configure/app/output/_category_.json +4 -0
  74. package/en/configure/app/output/asset-prefix.mdx +1 -1
  75. package/en/configure/app/output/assets-retry.mdx +1 -1
  76. package/en/configure/app/output/charset.mdx +1 -1
  77. package/en/configure/app/output/clean-dist-path.mdx +1 -1
  78. package/en/configure/app/output/convert-to-rem.mdx +1 -1
  79. package/en/configure/app/output/copy.mdx +1 -1
  80. package/en/configure/app/output/css-module-local-ident-name.mdx +1 -1
  81. package/en/configure/app/output/data-uri-limit.mdx +1 -1
  82. package/en/configure/app/output/disable-css-extract.mdx +1 -1
  83. package/en/configure/app/output/disable-css-module-extension.mdx +1 -1
  84. package/en/configure/app/output/disable-filename-hash.mdx +1 -1
  85. package/en/configure/app/output/disable-inline-runtime-chunk.mdx +1 -1
  86. package/en/configure/app/output/disable-minimize.mdx +1 -1
  87. package/en/configure/app/output/disable-source-map.mdx +1 -1
  88. package/en/configure/app/output/disable-ts-checker.mdx +1 -1
  89. package/en/configure/app/output/dist-path.mdx +1 -1
  90. package/en/configure/app/output/enable-asset-fallback.mdx +1 -1
  91. package/en/configure/app/output/enable-asset-manifest.mdx +1 -1
  92. package/en/configure/app/output/enable-css-module-tsdeclaration.mdx +1 -1
  93. package/en/configure/app/output/enable-inline-scripts.mdx +1 -1
  94. package/en/configure/app/output/enable-inline-styles.mdx +1 -1
  95. package/en/configure/app/output/enable-latest-decorators.mdx +1 -1
  96. package/en/configure/app/output/externals.mdx +1 -1
  97. package/en/configure/app/output/filename.mdx +1 -1
  98. package/en/configure/app/output/legal-comments.mdx +1 -1
  99. package/en/configure/app/output/override-browserslist.mdx +1 -1
  100. package/en/configure/app/output/polyfill.mdx +1 -1
  101. package/en/configure/app/output/ssg.mdx +5 -5
  102. package/en/configure/app/output/svg-default-export.mdx +1 -1
  103. package/en/configure/app/performance/_category_.json +4 -0
  104. package/en/configure/app/performance/build-cache.mdx +1 -1
  105. package/en/configure/app/performance/bundle-analyze.mdx +1 -1
  106. package/en/configure/app/performance/chunk-split.mdx +1 -1
  107. package/en/configure/app/performance/print-file-size.mdx +1 -1
  108. package/en/configure/app/performance/profile.mdx +1 -1
  109. package/en/configure/app/performance/remove-console.mdx +1 -1
  110. package/en/configure/app/performance/remove-moment-locale.mdx +1 -1
  111. package/en/configure/app/plugins.mdx +1 -1
  112. package/en/configure/app/runtime/_category_.json +4 -0
  113. package/en/configure/app/runtime/intro.mdx +2 -2
  114. package/en/configure/app/runtime/master-app.mdx +1 -1
  115. package/en/configure/app/security/_category_.json +4 -0
  116. package/en/configure/app/security/check-syntax.mdx +1 -1
  117. package/en/configure/app/security/sri.mdx +1 -1
  118. package/en/configure/app/server/_category_.json +4 -0
  119. package/en/configure/app/server/base-url.mdx +3 -3
  120. package/en/configure/app/server/enable-framework-ext.mdx +1 -1
  121. package/en/configure/app/server/ssr-by-entries.mdx +1 -1
  122. package/en/configure/app/source/_category_.json +4 -0
  123. package/en/configure/app/source/alias.mdx +1 -1
  124. package/en/configure/app/source/compile-js-data-uri.mdx +1 -1
  125. package/en/configure/app/source/define.mdx +1 -1
  126. package/en/configure/app/source/design-system.mdx +5 -5
  127. package/en/configure/app/source/entries-dir.mdx +1 -1
  128. package/en/configure/app/source/entries.mdx +3 -3
  129. package/en/configure/app/source/exclude.mdx +1 -1
  130. package/en/configure/app/source/global-vars.mdx +1 -1
  131. package/en/configure/app/source/include.mdx +1 -1
  132. package/en/configure/app/source/module-scopes.mdx +1 -1
  133. package/en/configure/app/source/pre-entry.mdx +1 -1
  134. package/en/configure/app/source/resolve-extension-prefix.mdx +1 -1
  135. package/en/configure/app/source/resolve-main-fields.mdx +1 -1
  136. package/en/configure/app/testing/_category_.json +4 -0
  137. package/en/configure/app/testing/transformer.mdx +1 -1
  138. package/en/configure/app/tools/_category_.json +4 -0
  139. package/en/configure/app/tools/autoprefixer.mdx +1 -1
  140. package/en/configure/app/tools/babel.mdx +1 -1
  141. package/en/configure/app/tools/css-extract.mdx +1 -1
  142. package/en/configure/app/tools/css-loader.mdx +1 -1
  143. package/en/configure/app/tools/dev-server.mdx +1 -1
  144. package/en/configure/app/tools/html-plugin.mdx +1 -1
  145. package/en/configure/app/tools/inspector.mdx +1 -1
  146. package/en/configure/app/tools/jest.mdx +1 -1
  147. package/en/configure/app/tools/less.mdx +1 -1
  148. package/en/configure/app/tools/minify-css.mdx +1 -1
  149. package/en/configure/app/tools/postcss.mdx +1 -1
  150. package/en/configure/app/tools/pug.mdx +1 -1
  151. package/en/configure/app/tools/rspack.mdx +13 -0
  152. package/en/configure/app/tools/sass.mdx +1 -1
  153. package/en/configure/app/tools/style-loader.mdx +1 -1
  154. package/en/configure/app/tools/styled-components.mdx +1 -1
  155. package/en/configure/app/tools/tailwindcss.mdx +1 -1
  156. package/en/configure/app/tools/terser.mdx +1 -1
  157. package/en/configure/app/tools/ts-checker.mdx +1 -1
  158. package/en/configure/app/tools/ts-loader.mdx +1 -1
  159. package/en/configure/app/tools/webpack-chain.mdx +1 -1
  160. package/en/configure/app/tools/webpack.mdx +1 -1
  161. package/en/configure/app/usage.mdx +1 -1
  162. package/en/guides/advanced-features/_category_.json +2 -2
  163. package/en/guides/advanced-features/bff/bff-proxy.mdx +1 -1
  164. package/en/guides/advanced-features/bff/frameworks.mdx +1 -1
  165. package/en/guides/advanced-features/bff/function.mdx +3 -3
  166. package/en/guides/advanced-features/code-split.mdx +2 -2
  167. package/en/guides/advanced-features/compatibility.mdx +2 -3
  168. package/en/guides/advanced-features/eslint.mdx +4 -4
  169. package/en/guides/advanced-features/low-level.mdx +1 -1
  170. package/en/guides/advanced-features/rspack-start.mdx +69 -0
  171. package/en/guides/advanced-features/ssg.mdx +12 -13
  172. package/en/guides/advanced-features/ssr.mdx +3 -3
  173. package/en/guides/advanced-features/testing.mdx +4 -5
  174. package/en/guides/advanced-features/web-server.mdx +0 -1
  175. package/en/guides/basic-features/alias.mdx +5 -5
  176. package/en/guides/basic-features/data-fetch.mdx +25 -12
  177. package/en/guides/basic-features/env-vars.mdx +1 -1
  178. package/en/guides/basic-features/html.mdx +11 -11
  179. package/en/guides/basic-features/mock.mdx +21 -1
  180. package/en/guides/basic-features/proxy.mdx +2 -2
  181. package/en/guides/basic-features/routes.mdx +29 -15
  182. package/en/guides/{basic-features → concept}/builder.mdx +2 -2
  183. package/en/guides/concept/entries.mdx +11 -11
  184. package/en/guides/css/_category_.json +5 -0
  185. package/en/guides/{basic-features/css → css}/less-sass.mdx +1 -1
  186. package/en/guides/get-started/introduction.mdx +34 -0
  187. package/en/guides/get-started/quick-start.mdx +4 -4
  188. package/en/guides/get-started/upgrade.mdx +2 -1
  189. package/en/guides/topic-detail/_category_.json +2 -2
  190. package/en/guides/topic-detail/framework-plugin/hook.mdx +1 -1
  191. package/en/guides/topic-detail/generator/plugin/api/hook/onForged.mdx +1 -1
  192. package/en/guides/topic-detail/generator/plugin/develop.mdx +1 -1
  193. package/en/guides/topic-detail/micro-frontend/c02-development.mdx +128 -61
  194. package/en/guides/topic-detail/micro-frontend/c03-main-app.mdx +73 -42
  195. package/en/guides/topic-detail/micro-frontend/c05-mixed-stack.mdx +1 -1
  196. package/en/guides/topic-detail/model/auto-actions.mdx +1 -1
  197. package/en/guides/topic-detail/model/define-model.mdx +1 -1
  198. package/en/guides/topic-detail/model/manage-effects.mdx +1 -1
  199. package/en/guides/topic-detail/model/model-communicate.mdx +1 -1
  200. package/en/guides/topic-detail/model/quick-start.mdx +2 -2
  201. package/en/guides/topic-detail/model/test-model.mdx +1 -1
  202. package/en/guides/topic-detail/model/use-model.mdx +3 -3
  203. package/en/guides/troubleshooting/_category_.json +2 -2
  204. package/en/guides/troubleshooting/cli.mdx +1 -1
  205. package/en/index.md +1 -1
  206. package/en/tutorials/first-app/_category_.json +1 -1
  207. package/en/tutorials/first-app/c01-start.mdx +0 -1
  208. package/en/tutorials/first-app/c03-css.mdx +1 -2
  209. package/en/tutorials/first-app/c06-model.mdx +1 -1
  210. package/en/tutorials/first-app/c07-container.mdx +18 -18
  211. package/en/tutorials/first-app/c08-entries.mdx +24 -25
  212. package/en/tutorials/foundations/introduction.mdx +17 -34
  213. package/package.json +3 -3
  214. package/scripts/config.ts +3 -1
  215. package/scripts/summary.en.json +1 -1
  216. package/scripts/summary.zh.json +1 -1
  217. package/zh/apis/app/commands.mdx +299 -0
  218. package/zh/apis/app/hooks/_category_.json +2 -5
  219. package/zh/apis/app/hooks/src/pages.mdx +1 -1
  220. package/zh/apis/app/hooks/src/routes.mdx +3 -3
  221. package/zh/apis/app/runtime/_category_.json +1 -5
  222. package/zh/apis/app/runtime/core/create-app.mdx +1 -1
  223. package/zh/apis/app/runtime/core/use-module-apps.mdx +81 -40
  224. package/zh/apis/app/runtime/model/Provider.mdx +2 -2
  225. package/zh/apis/app/runtime/model/create-app.mdx +7 -7
  226. package/zh/apis/app/runtime/model/create-store.mdx +2 -2
  227. package/zh/apis/app/runtime/model/use-local-model.mdx +1 -1
  228. package/zh/apis/app/runtime/model/use-static-model.mdx +1 -1
  229. package/zh/apis/app/runtime/model/use-store.mdx +1 -1
  230. package/zh/apis/app/runtime/testing/renderApp.mdx +1 -1
  231. package/zh/components/init-app.mdx +5 -5
  232. package/zh/components/micro-runtime-config.mdx +6 -6
  233. package/zh/components/release-note.mdx +1 -1
  234. package/zh/configure/app/bff/prefix.mdx +1 -1
  235. package/zh/configure/app/bff/proxy.mdx +1 -1
  236. package/zh/configure/app/builder-plugins.mdx +3 -3
  237. package/zh/configure/app/dev/before-start-url.mdx +13 -0
  238. package/zh/configure/app/dev/host.mdx +13 -0
  239. package/zh/configure/app/output/ssg.mdx +3 -3
  240. package/zh/configure/app/plugins.mdx +1 -1
  241. package/zh/configure/app/server/ssr-by-entries.mdx +1 -1
  242. package/zh/configure/app/source/entries-dir.mdx +1 -1
  243. package/zh/configure/app/tools/rspack.mdx +13 -0
  244. package/zh/configure/app/usage.mdx +1 -1
  245. package/zh/guides/advanced-features/_category_.json +2 -6
  246. package/zh/guides/advanced-features/compatibility.mdx +0 -1
  247. package/zh/guides/advanced-features/rspack-start.mdx +69 -0
  248. package/zh/guides/advanced-features/ssg.mdx +8 -9
  249. package/zh/guides/advanced-features/ssr.mdx +3 -2
  250. package/zh/guides/advanced-features/testing.mdx +0 -1
  251. package/zh/guides/advanced-features/web-server.mdx +0 -1
  252. package/zh/guides/basic-features/_category_.json +1 -5
  253. package/zh/guides/basic-features/alias.mdx +5 -5
  254. package/zh/guides/basic-features/data-fetch.mdx +39 -30
  255. package/zh/guides/basic-features/html.mdx +10 -9
  256. package/zh/guides/basic-features/mock.mdx +20 -0
  257. package/zh/guides/basic-features/routes.mdx +38 -17
  258. package/zh/guides/{basic-features → concept}/builder.mdx +4 -4
  259. package/zh/guides/concept/entries.mdx +11 -11
  260. package/zh/guides/css/_category_.json +5 -0
  261. package/zh/guides/{basic-features/css → css}/less-sass.mdx +1 -1
  262. package/zh/guides/{basic-features/css → css}/postcss.mdx +5 -4
  263. package/zh/guides/{basic-features/css → css}/tailwindcss.mdx +0 -1
  264. package/zh/guides/get-started/introduction.mdx +31 -0
  265. package/zh/guides/get-started/quick-start.mdx +4 -5
  266. package/zh/guides/get-started/upgrade.mdx +2 -1
  267. package/zh/guides/topic-detail/_category_.json +2 -2
  268. package/zh/guides/topic-detail/generator/plugin/api/input/addInputBefore.mdx +1 -1
  269. package/zh/guides/topic-detail/micro-frontend/c02-development.mdx +25 -0
  270. package/zh/guides/topic-detail/micro-frontend/c03-main-app.mdx +16 -16
  271. package/zh/guides/topic-detail/model/model-communicate.mdx +1 -1
  272. package/zh/guides/troubleshooting/_category_.json +2 -2
  273. package/zh/index.md +1 -1
  274. package/zh/tutorials/first-app/_category_.json +1 -1
  275. package/zh/tutorials/first-app/c01-start.mdx +1 -2
  276. package/zh/tutorials/first-app/c03-css.mdx +1 -2
  277. package/zh/tutorials/first-app/c06-model.mdx +2 -2
  278. package/zh/tutorials/first-app/c07-container.mdx +18 -18
  279. package/zh/tutorials/first-app/c08-entries.mdx +25 -26
  280. package/zh/tutorials/foundations/introduction.mdx +14 -29
  281. package/en/apis/app/commands/_category_.json +0 -8
  282. package/en/apis/app/commands/build.mdx +0 -39
  283. package/en/apis/app/commands/dev.mdx +0 -61
  284. package/en/apis/app/commands/index.mdx +0 -7
  285. package/en/apis/app/commands/inspect.mdx +0 -61
  286. package/en/apis/app/commands/lint.mdx +0 -19
  287. package/en/apis/app/commands/new.mdx +0 -54
  288. package/en/apis/app/commands/serve.mdx +0 -27
  289. package/en/apis/app/commands/test.mdx +0 -35
  290. package/en/apis/app/commands/upgrade.mdx +0 -18
  291. package/en/apis/app/hooks/index.mdx +0 -7
  292. package/en/apis/app/runtime/index.mdx +0 -7
  293. package/en/guides/advanced-features/index.mdx +0 -7
  294. package/en/guides/basic-features/css/_category_.json +0 -4
  295. package/zh/apis/app/commands/_category_.json +0 -8
  296. package/zh/apis/app/commands/build.mdx +0 -39
  297. package/zh/apis/app/commands/dev.mdx +0 -61
  298. package/zh/apis/app/commands/index.mdx +0 -7
  299. package/zh/apis/app/commands/inspect.mdx +0 -61
  300. package/zh/apis/app/commands/lint.mdx +0 -19
  301. package/zh/apis/app/commands/new.mdx +0 -54
  302. package/zh/apis/app/commands/serve.mdx +0 -27
  303. package/zh/apis/app/commands/test.mdx +0 -35
  304. package/zh/apis/app/commands/upgrade.mdx +0 -18
  305. package/zh/apis/app/hooks/index.mdx +0 -7
  306. package/zh/apis/app/runtime/index.mdx +0 -7
  307. package/zh/guides/advanced-features/index.mdx +0 -7
  308. package/zh/guides/basic-features/css/_category_.json +0 -4
  309. package/zh/guides/basic-features/index.mdx +0 -7
  310. /package/en/guides/{basic-features/css → css}/css-in-js.mdx +0 -0
  311. /package/en/guides/{basic-features/css → css}/css-modules.mdx +0 -0
  312. /package/en/guides/{basic-features/css → css}/postcss.mdx +0 -0
  313. /package/en/guides/{basic-features/css → css}/tailwindcss.mdx +0 -0
  314. /package/zh/guides/{basic-features/css → css}/css-in-js.mdx +0 -0
  315. /package/zh/guides/{basic-features/css → css}/css-modules.mdx +0 -0
@@ -5,7 +5,7 @@ sidebar_label: inject
5
5
  # html.inject
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.inject](https://modernjs.dev/builder/en/api/config-html.html#htmlinject)
8
+ This config is provided by Modern.js Builder, more detail can see [html.inject](https://modernjs.dev/builder/en/api/config-html.html#htmlinject).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/inject.md'
@@ -5,7 +5,7 @@ sidebar_label: metaByEntries
5
5
  # html.metaByEntries
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.metaByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmlmetabyentries)
8
+ This config is provided by Modern.js Builder, more detail can see [html.metaByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmlmetabyentries).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/metaByEntries.md'
@@ -5,7 +5,7 @@ sidebar_label: meta
5
5
  # html.meta
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.meta](https://modernjs.dev/builder/en/api/config-html.html#htmlmeta)
8
+ This config is provided by Modern.js Builder, more detail can see [html.meta](https://modernjs.dev/builder/en/api/config-html.html#htmlmeta).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/meta.md'
@@ -5,7 +5,7 @@ sidebar_label: mountId
5
5
  # html.mountId
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.mountId](https://modernjs.dev/builder/en/api/config-html.html#htmlmountid)
8
+ This config is provided by Modern.js Builder, more detail can see [html.mountId](https://modernjs.dev/builder/en/api/config-html.html#htmlmountid).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/mountId.md'
@@ -5,7 +5,7 @@ sidebar_label: tagsByEntries
5
5
  # html.tagsByEntries
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.tagsByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltagsbyentries)
8
+ This config is provided by Modern.js Builder, more detail can see [html.tagsByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltagsbyentries).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/tagsByEntries.md'
@@ -5,7 +5,7 @@ sidebar_label: tags
5
5
  # html.tags
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.tags](https://modernjs.dev/builder/en/api/config-html.html#htmltags)
8
+ This config is provided by Modern.js Builder, more detail can see [html.tags](https://modernjs.dev/builder/en/api/config-html.html#htmltags).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/tags.md'
@@ -5,7 +5,7 @@ sidebar_label: templateByEntries
5
5
  # html.templateByEntries
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.templateByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltemplatebyentries)
8
+ This config is provided by Modern.js Builder, more detail can see [html.templateByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltemplatebyentries).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/templateByEntries.md'
@@ -5,7 +5,7 @@ sidebar_label: templateParametersByEntries
5
5
  # html.templateParametersByEntries
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.templateParametersByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltemplateparametersbyentries)
8
+ This config is provided by Modern.js Builder, more detail can see [html.templateParametersByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltemplateparametersbyentries).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/templateParametersByEntries.md'
@@ -5,7 +5,7 @@ sidebar_label: templateParameters
5
5
  # html.templateParameters
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.templateParameters](https://modernjs.dev/builder/en/api/config-html.html#htmltemplateparameters)
8
+ This config is provided by Modern.js Builder, more detail can see [html.templateParameters](https://modernjs.dev/builder/en/api/config-html.html#htmltemplateparameters).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/templateParameters.md'
@@ -5,7 +5,7 @@ sidebar_label: template
5
5
  # html.template
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.template](https://modernjs.dev/builder/en/api/config-html.html#htmltemplate)
8
+ This config is provided by Modern.js Builder, more detail can see [html.template](https://modernjs.dev/builder/en/api/config-html.html#htmltemplate).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/template.md'
@@ -5,7 +5,7 @@ sidebar_label: titleByEntries
5
5
  # html.titleByEntries
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.titleByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltitlebyentries)
8
+ This config is provided by Modern.js Builder, more detail can see [html.titleByEntries](https://modernjs.dev/builder/en/api/config-html.html#htmltitlebyentries).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/titleByEntries.md'
@@ -5,7 +5,7 @@ sidebar_label: title
5
5
  # html.title
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [html.title](https://modernjs.dev/builder/en/api/config-html.html#htmltitle)
8
+ This config is provided by Modern.js Builder, more detail can see [html.title](https://modernjs.dev/builder/en/api/config-html.html#htmltitle).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/html/title.md'
@@ -0,0 +1,4 @@
1
+ {
2
+ "label": "output",
3
+ "position": 2
4
+ }
@@ -5,7 +5,7 @@ sidebar_label: assetPrefix
5
5
  # output.assetPrefix
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.assetPrefix](https://modernjs.dev/builder/en/api/config-output.html#outputassetprefix)
8
+ This config is provided by Modern.js Builder, more detail can see [output.assetPrefix](https://modernjs.dev/builder/en/api/config-output.html#outputassetprefix).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/assetPrefix.md'
@@ -5,7 +5,7 @@ sidebar_label: assetsRetry
5
5
  # output.assetsRetry
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.assetsRetry](https://modernjs.dev/builder/en/api/config-output.html#outputassetsretry)
8
+ This config is provided by Modern.js Builder, more detail can see [output.assetsRetry](https://modernjs.dev/builder/en/api/config-output.html#outputassetsretry).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/assetsRetry.md'
@@ -5,7 +5,7 @@ sidebar_label: charset
5
5
  # output.charset
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.charset](https://modernjs.dev/builder/en/api/config-output.html#outputcharset)
8
+ This config is provided by Modern.js Builder, more detail can see [output.charset](https://modernjs.dev/builder/en/api/config-output.html#outputcharset).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/charset.md'
@@ -5,7 +5,7 @@ sidebar_label: cleanDistPath
5
5
  # output.cleanDistPath
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.cleanDistPath](https://modernjs.dev/builder/en/api/config-output.html#outputcleandistpath)
8
+ This config is provided by Modern.js Builder, more detail can see [output.cleanDistPath](https://modernjs.dev/builder/en/api/config-output.html#outputcleandistpath).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/cleanDistPath.md'
@@ -5,7 +5,7 @@ sidebar_label: convertToRem
5
5
  # output.convertToRem
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.convertToRem](https://modernjs.dev/builder/en/api/config-output.html#outputconverttorem)
8
+ This config is provided by Modern.js Builder, more detail can see [output.convertToRem](https://modernjs.dev/builder/en/api/config-output.html#outputconverttorem).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/convertToRem.md'
@@ -5,7 +5,7 @@ sidebar_label: copy
5
5
  # output.copy
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.copy](https://modernjs.dev/builder/en/api/config-output.html#outputcopy)
8
+ This config is provided by Modern.js Builder, more detail can see [output.copy](https://modernjs.dev/builder/en/api/config-output.html#outputcopy).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/copy.md'
@@ -5,7 +5,7 @@ sidebar_label: cssModuleLocalIdentName
5
5
  # output.cssModuleLocalIdentName
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.cssModuleLocalIdentName](https://modernjs.dev/builder/en/api/config-output.html#outputcssmodulelocalidentname)
8
+ This config is provided by Modern.js Builder, more detail can see [output.cssModuleLocalIdentName](https://modernjs.dev/builder/en/api/config-output.html#outputcssmodulelocalidentname).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/cssModuleLocalIdentName.md'
@@ -5,7 +5,7 @@ sidebar_label: dataUriLimit
5
5
  # output.dataUriLimit
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.dataUriLimit](https://modernjs.dev/builder/en/api/config-output.html#outputdataurilimit)
8
+ This config is provided by Modern.js Builder, more detail can see [output.dataUriLimit](https://modernjs.dev/builder/en/api/config-output.html#outputdataurilimit).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/dataUriLimit.md'
@@ -5,7 +5,7 @@ sidebar_label: disableCssExtract
5
5
  # output.disableCssExtract
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableCssExtract](https://modernjs.dev/builder/en/api/config-output.html#outputdisablecssextract)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableCssExtract](https://modernjs.dev/builder/en/api/config-output.html#outputdisablecssextract).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableCssExtract.md'
@@ -5,7 +5,7 @@ sidebar_label: disableCssModuleExtension
5
5
  # output.disableCssModuleExtension
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableCssModuleExtension](https://modernjs.dev/builder/en/api/config-output.html#outputdisablecssmoduleextension)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableCssModuleExtension](https://modernjs.dev/builder/en/api/config-output.html#outputdisablecssmoduleextension).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableCssModuleExtension.md'
@@ -5,7 +5,7 @@ sidebar_label: disableFilenameHash
5
5
  # output.disableFilenameHash
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableFilenameHash](https://modernjs.dev/builder/en/api/config-output.html#outputdisablefilenamehash)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableFilenameHash](https://modernjs.dev/builder/en/api/config-output.html#outputdisablefilenamehash).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableFilenameHash.md'
@@ -5,7 +5,7 @@ sidebar_label: disableInlineRuntimeChunk
5
5
  # output.disableInlineRuntimeChunk
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableInlineRuntimeChunk](https://modernjs.dev/builder/en/api/config-output.html#outputdisableinlineruntimechunk)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableInlineRuntimeChunk](https://modernjs.dev/builder/en/api/config-output.html#outputdisableinlineruntimechunk).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableInlineRuntimeChunk.md'
@@ -5,7 +5,7 @@ sidebar_label: disableMinimize
5
5
  # output.disableMinimize
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableMinimize](https://modernjs.dev/builder/en/api/config-output.html#outputdisableminimize)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableMinimize](https://modernjs.dev/builder/en/api/config-output.html#outputdisableminimize).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableMinimize.md'
@@ -5,7 +5,7 @@ sidebar_label: disableSourceMap
5
5
  # output.disableSourceMap
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableSourceMap](https://modernjs.dev/builder/en/api/config-output.html#outputdisablesourcemap)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableSourceMap](https://modernjs.dev/builder/en/api/config-output.html#outputdisablesourcemap).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableSourceMap.md'
@@ -5,7 +5,7 @@ sidebar_label: disableTsChecker
5
5
  # output.disableTsChecker
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.disableTsChecker](https://modernjs.dev/builder/en/api/config-output.html#outputdisabletschecker)
8
+ This config is provided by Modern.js Builder, more detail can see [output.disableTsChecker](https://modernjs.dev/builder/en/api/config-output.html#outputdisabletschecker).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/disableTsChecker.md'
@@ -5,7 +5,7 @@ sidebar_label: distPath
5
5
  # output.distPath
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.distPath](https://modernjs.dev/builder/en/api/config-output.html#outputdistpath)
8
+ This config is provided by Modern.js Builder, more detail can see [output.distPath](https://modernjs.dev/builder/en/api/config-output.html#outputdistpath).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/distPath.md'
@@ -5,7 +5,7 @@ sidebar_label: enableAssetFallback
5
5
  # output.enableAssetFallback
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.enableAssetFallback](https://modernjs.dev/builder/en/api/config-output.html#outputenableassetfallback)
8
+ This config is provided by Modern.js Builder, more detail can see [output.enableAssetFallback](https://modernjs.dev/builder/en/api/config-output.html#outputenableassetfallback).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/enableAssetFallback.md'
@@ -5,7 +5,7 @@ sidebar_label: enableAssetManifest
5
5
  # output.enableAssetManifest
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.enableAssetManifest](https://modernjs.dev/builder/en/api/config-output.html#outputenableassetmanifest)
8
+ This config is provided by Modern.js Builder, more detail can see [output.enableAssetManifest](https://modernjs.dev/builder/en/api/config-output.html#outputenableassetmanifest).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/enableAssetManifest.md'
@@ -5,7 +5,7 @@ sidebar_label: enableCssModuleTSDeclaration
5
5
  # output.enableCssModuleTSDeclaration
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.enableCssModuleTSDeclaration](https://modernjs.dev/builder/en/api/config-output.html#outputenablecssmoduletsdeclaration)
8
+ This config is provided by Modern.js Builder, more detail can see [output.enableCssModuleTSDeclaration](https://modernjs.dev/builder/en/api/config-output.html#outputenablecssmoduletsdeclaration).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/enableCssModuleTSDeclaration.md'
@@ -5,7 +5,7 @@ sidebar_label: enableInlineScripts
5
5
  # output.enableInlineScripts
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.enableInlineScripts](https://modernjs.dev/builder/en/api/config-output.html#outputenableinlinescripts)
8
+ This config is provided by Modern.js Builder, more detail can see [output.enableInlineScripts](https://modernjs.dev/builder/en/api/config-output.html#outputenableinlinescripts).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/enableInlineScripts.md'
@@ -5,7 +5,7 @@ sidebar_label: enableInlineStyles
5
5
  # output.enableInlineStyles
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.enableInlineStyles](https://modernjs.dev/builder/en/api/config-output.html#outputenableinlinestyles)
8
+ This config is provided by Modern.js Builder, more detail can see [output.enableInlineStyles](https://modernjs.dev/builder/en/api/config-output.html#outputenableinlinestyles).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/enableInlineStyles.md'
@@ -5,7 +5,7 @@ sidebar_label: enableLatestDecorators
5
5
  # output.enableLatestDecorators
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.enableLatestDecorators](https://modernjs.dev/builder/en/api/config-output.html#outputenablelatestdecorators)
8
+ This config is provided by Modern.js Builder, more detail can see [output.enableLatestDecorators](https://modernjs.dev/builder/en/api/config-output.html#outputenablelatestdecorators).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/enableLatestDecorators.md'
@@ -5,7 +5,7 @@ sidebar_label: externals
5
5
  # output.externals
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.externals](https://modernjs.dev/builder/en/api/config-output.html#outputexternals)
8
+ This config is provided by Modern.js Builder, more detail can see [output.externals](https://modernjs.dev/builder/en/api/config-output.html#outputexternals).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/externals.md'
@@ -5,7 +5,7 @@ sidebar_label: filename
5
5
  # output.filename
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.filename](https://modernjs.dev/builder/en/api/config-output.html#outputfilename)
8
+ This config is provided by Modern.js Builder, more detail can see [output.filename](https://modernjs.dev/builder/en/api/config-output.html#outputfilename).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/filename.md'
@@ -5,7 +5,7 @@ sidebar_label: legalComments
5
5
  # output.legalComments
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.legalComments](https://modernjs.dev/builder/en/api/config-output.html#outputlegalcomments)
8
+ This config is provided by Modern.js Builder, more detail can see [output.legalComments](https://modernjs.dev/builder/en/api/config-output.html#outputlegalcomments).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/legalComments.md'
@@ -5,7 +5,7 @@ sidebar_label: overrideBrowserslist
5
5
  # output.overrideBrowserslist
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.overrideBrowserslist](https://modernjs.dev/builder/en/api/config-output.html#outputoverridebrowserslist)
8
+ This config is provided by Modern.js Builder, more detail can see [output.overrideBrowserslist](https://modernjs.dev/builder/en/api/config-output.html#outputoverridebrowserslist).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/overrideBrowserslist.md'
@@ -5,7 +5,7 @@ sidebar_label: polyfill
5
5
  # output.polyfill
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.polyfill](https://modernjs.dev/builder/en/api/config-output.html#outputpolyfill)
8
+ This config is provided by Modern.js Builder, more detail can see [output.polyfill](https://modernjs.dev/builder/en/api/config-output.html#outputpolyfill).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/polyfill.md'
@@ -10,7 +10,7 @@ sidebar_label: ssg
10
10
  Enable the SSG for **Self-controlled Routing** or **Conventional Routing**.
11
11
 
12
12
  :::info
13
- For more routes detail, see [routes](/guides/basic-features/routes)
13
+ For more routes detail, see [routes](/guides/basic-features/routes).
14
14
 
15
15
  :::
16
16
 
@@ -64,9 +64,9 @@ Also using the above configuration, after executing `pnpm run build`, only the e
64
64
  例如以下目录结构:
65
65
 
66
66
  ```bash
67
-
67
+ .
68
68
  ├── src
69
-    ├── entryA
69
+ ├── entryA
70
70
  │ │ └── routes
71
71
  │ │ ├── layout.tsx
72
72
  │ │ ├── page.tsx
@@ -75,8 +75,8 @@ Also using the above configuration, after executing `pnpm run build`, only the e
75
75
  │ │ ├── page.tsx
76
76
  │ │ └── profile
77
77
  │ │ └── page.tsx
78
-    └── entryB
79
-    └── App.tsx
78
+ └── entryB
79
+ └── App.tsx
80
80
  ```
81
81
 
82
82
  By default, all entryA entrances are rendered at build time after setting `output.ssg` to `true`. You can configure `false` to cancel the default behavior of the specified entries. For example, to cancel the rendering of the `entryA` at build time:
@@ -5,7 +5,7 @@ sidebar_label: svgDefaultExport
5
5
  # output.svgDefaultExport
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [output.svgDefaultExport](https://modernjs.dev/builder/en/api/config-output.html#outputsvgdefaultexport)
8
+ This config is provided by Modern.js Builder, more detail can see [output.svgDefaultExport](https://modernjs.dev/builder/en/api/config-output.html#outputsvgdefaultexport).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/output/svgDefaultExport.md'
@@ -0,0 +1,4 @@
1
+ {
2
+ "label": "performance",
3
+ "position": 13
4
+ }
@@ -5,7 +5,7 @@ sidebar_label: buildCache
5
5
  # performance.buildCache
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.buildCache](https://modernjs.dev/builder/en/api/config-performance.html#performancebuildcache)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.buildCache](https://modernjs.dev/builder/en/api/config-performance.html#performancebuildcache).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/buildCache.md'
@@ -5,7 +5,7 @@ sidebar_label: bundleAnalyze
5
5
  # performance.bundleAnalyze
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.bundleAnalyze](https://modernjs.dev/builder/en/api/config-performance.html#performancebundleanalyze)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.bundleAnalyze](https://modernjs.dev/builder/en/api/config-performance.html#performancebundleanalyze).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/bundleAnalyze.md'
@@ -5,7 +5,7 @@ sidebar_label: chunkSplit
5
5
  # performance.chunkSplit
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.chunkSplit](https://modernjs.dev/builder/en/api/config-performance.html#performancechunksplit)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.chunkSplit](https://modernjs.dev/builder/en/api/config-performance.html#performancechunksplit).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/chunkSplit.md'
@@ -5,7 +5,7 @@ sidebar_label: printFileSize
5
5
  # performance.printFileSize
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.printFileSize](https://modernjs.dev/builder/en/api/config-performance.html#performanceprintfilesize)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.printFileSize](https://modernjs.dev/builder/en/api/config-performance.html#performanceprintfilesize).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/printFileSize.md'
@@ -5,7 +5,7 @@ sidebar_label: profile
5
5
  # performance.profile
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.profile](https://modernjs.dev/builder/en/api/config-performance.html#performanceprofile)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.profile](https://modernjs.dev/builder/en/api/config-performance.html#performanceprofile).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/profile.md'
@@ -5,7 +5,7 @@ sidebar_label: removeConsole
5
5
  # performance.removeConsole
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.removeConsole](https://modernjs.dev/builder/en/api/config-performance.html#performanceremoveconsole)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.removeConsole](https://modernjs.dev/builder/en/api/config-performance.html#performanceremoveconsole).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/removeConsole.md'
@@ -5,7 +5,7 @@ sidebar_label: removeMomentLocale
5
5
  # performance.removeMomentLocale
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [performance.removeMomentLocale](https://modernjs.dev/builder/en/api/config-performance.html#performanceremovemomentlocale)
8
+ This config is provided by Modern.js Builder, more detail can see [performance.removeMomentLocale](https://modernjs.dev/builder/en/api/config-performance.html#performanceremovemomentlocale).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/performance/removeMomentLocale.md'
@@ -15,7 +15,7 @@ For the way to write custom plugins, please refer to [How to Write Plugins](/gui
15
15
 
16
16
  This config **is used to configure the Modern.js framework plugin**. If you need to configure other types of plugins, please select the corresponding configs:
17
17
 
18
- - Use [builderPlugins](docs/configure/app/builder-plugins) to configure Modern.js Builder plugins.
18
+ - Use [builderPlugins](/configure/app/builder-plugins) to configure Modern.js Builder plugins.
19
19
  - Use [tools.webpack](/configure/app/tools/webpack) or [tools.webpackChain](/configure/app/tools/webpack-chain) to configure webpack plugins.
20
20
  - Use [tools.babel](/configure/app/tools/babel) to configure babel plugins.
21
21
 
@@ -0,0 +1,4 @@
1
+ {
2
+ "label": "runtime",
3
+ "position": 3
4
+ }
@@ -63,7 +63,7 @@ Runtime plugin runtime configuration and configuration directly in `modern.confi
63
63
  :::
64
64
 
65
65
  :::warning
66
- defineConfig 中只能定义 Runtime 插件的具体配置内容,确认是否开启插件还需要通过 `package.json` 中的 `modernConfig` 或者 `modern.config.ts` 中的配置决定。
66
+ defineConfig can only define the specific configuration content of the Runtime plugin. To confirm whether to enable the plugin, it needs to be determined through the configuration in `modernConfig` in `package.json` or `modern.config.ts`.
67
67
 
68
68
  :::
69
69
 
@@ -71,7 +71,7 @@ defineConfig 中只能定义 Runtime 插件的具体配置内容,确认是否
71
71
 
72
72
  - **Type:** `Object`
73
73
 
74
- #### Introduce
74
+ #### Introduction
75
75
 
76
76
  Add the runtime configuration according to the entry. The option attribute is consistent with the runtime. The specified value will be replaced and merged with the content of the runtime attribute.
77
77
 
@@ -7,7 +7,7 @@ sidebar_label: masterApp
7
7
  - **Type:** `Object`
8
8
 
9
9
  :::info
10
- First you need to enable the "micro frontend" function using [new command](/apis/app/commands/new).
10
+ First you need to enable the "micro frontend" function using [new command](/apis/app/commands#modern-new).
11
11
  :::
12
12
 
13
13
  ## Example
@@ -0,0 +1,4 @@
1
+ {
2
+ "label": "security",
3
+ "position": 14
4
+ }
@@ -5,7 +5,7 @@ sidebar_label: checkSyntax
5
5
  # security.checkSyntax
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [security.checkSyntax](https://modernjs.dev/builder/en/api/config-security.html#securitychecksyntax)
8
+ This config is provided by Modern.js Builder, more detail can see [security.checkSyntax](https://modernjs.dev/builder/en/api/config-security.html#securitychecksyntax).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/security/checkSyntax.md'
@@ -5,7 +5,7 @@ sidebar_label: sri
5
5
  # security.sri
6
6
 
7
7
  :::tip
8
- This config is provided by Modern.js Builder, more detail can see [security.sri](https://modernjs.dev/builder/en/api/config-security.html#securitysri)
8
+ This config is provided by Modern.js Builder, more detail can see [security.sri](https://modernjs.dev/builder/en/api/config-security.html#securitysri).
9
9
  :::
10
10
 
11
11
  import Main from '@modern-js/builder-doc/docs/en/config/security/sri.md'
@@ -0,0 +1,4 @@
1
+ {
2
+ "label": "server",
3
+ "position": 4
4
+ }