@modern-js/main-doc 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-build.log +1 -1
- package/en/components/global-proxy-config.mdx +2 -2
- package/en/configure/app/auto-load-plugin.mdx +2 -2
- package/en/configure/app/bff/prefix.mdx +2 -2
- package/en/configure/app/bff/proxy.mdx +2 -2
- package/en/configure/app/builder-plugins.mdx +2 -2
- package/en/configure/app/deploy/microFrontend.mdx +6 -6
- package/en/configure/app/dev/asset-prefix.mdx +4 -3
- package/en/configure/app/dev/hmr.mdx +4 -3
- package/en/configure/app/dev/https.mdx +4 -3
- package/en/configure/app/dev/port.mdx +4 -3
- package/en/configure/app/dev/progress-bar.mdx +4 -3
- package/en/configure/app/dev/start-url.mdx +4 -3
- package/en/configure/app/experiments/lazy-compilation.mdx +4 -3
- package/en/configure/app/html/app-icon.mdx +4 -3
- package/en/configure/app/html/crossorigin.mdx +4 -3
- package/en/configure/app/html/disable-html-folder.mdx +4 -3
- package/en/configure/app/html/favicon-by-entries.mdx +4 -3
- package/en/configure/app/html/favicon.mdx +4 -3
- package/en/configure/app/html/inject-by-entries.mdx +4 -3
- package/en/configure/app/html/inject.mdx +4 -3
- package/en/configure/app/html/meta-by-entries.mdx +4 -3
- package/en/configure/app/html/meta.mdx +4 -3
- package/en/configure/app/html/mount-id.mdx +4 -3
- package/en/configure/app/html/tags-by-entries.mdx +4 -3
- package/en/configure/app/html/tags.mdx +4 -3
- package/en/configure/app/html/template-by-entries.mdx +4 -3
- package/en/configure/app/html/template-parameters-by-entries.mdx +4 -3
- package/en/configure/app/html/template-parameters.mdx +4 -3
- package/en/configure/app/html/template.mdx +4 -3
- package/en/configure/app/html/title-by-entries.mdx +4 -3
- package/en/configure/app/html/title.mdx +4 -3
- package/en/configure/app/output/asset-prefix.mdx +4 -3
- package/en/configure/app/output/assets-retry.mdx +4 -3
- package/en/configure/app/output/charset.mdx +4 -3
- package/en/configure/app/output/clean-dist-path.mdx +4 -3
- package/en/configure/app/output/convert-to-rem.mdx +4 -3
- package/en/configure/app/output/copy.mdx +4 -3
- package/en/configure/app/output/css-module-local-ident-name.mdx +4 -3
- package/en/configure/app/output/data-uri-limit.mdx +4 -3
- package/en/configure/app/output/disable-css-extract.mdx +4 -3
- package/en/configure/app/output/disable-css-module-extension.mdx +4 -3
- package/en/configure/app/output/disable-filename-hash.mdx +4 -3
- package/en/configure/app/output/disable-inline-runtime-chunk.mdx +4 -3
- package/en/configure/app/output/disable-minimize.mdx +4 -3
- package/en/configure/app/output/disable-node-polyfill.mdx +2 -2
- package/en/configure/app/output/disable-source-map.mdx +4 -3
- package/en/configure/app/output/disable-ts-checker.mdx +4 -3
- package/en/configure/app/output/dist-path.mdx +4 -3
- package/en/configure/app/output/enable-asset-fallback.mdx +4 -3
- package/en/configure/app/output/enable-asset-manifest.mdx +4 -3
- package/en/configure/app/output/enable-css-module-tsdeclaration.mdx +4 -3
- package/en/configure/app/output/enable-inline-scripts.mdx +4 -3
- package/en/configure/app/output/enable-inline-styles.mdx +4 -3
- package/en/configure/app/output/enable-latest-decorators.mdx +4 -3
- package/en/configure/app/output/externals.mdx +4 -3
- package/en/configure/app/output/filename.mdx +4 -3
- package/en/configure/app/output/legal-comments.mdx +4 -3
- package/en/configure/app/output/override-browserslist.mdx +4 -3
- package/en/configure/app/output/polyfill.mdx +4 -3
- package/en/configure/app/output/ssg.mdx +2 -2
- package/en/configure/app/output/svg-default-export.mdx +4 -3
- package/en/configure/app/performance/build-cache.mdx +4 -3
- package/en/configure/app/performance/bundle-analyze.mdx +4 -3
- package/en/configure/app/performance/chunk-split.mdx +4 -3
- package/en/configure/app/performance/print-file-size.mdx +4 -3
- package/en/configure/app/performance/profile.mdx +4 -3
- package/en/configure/app/performance/remove-console.mdx +4 -3
- package/en/configure/app/performance/remove-moment-locale.mdx +4 -3
- package/en/configure/app/plugins.mdx +2 -2
- package/en/configure/app/runtime/intro.mdx +2 -2
- package/en/configure/app/runtime/master-app.mdx +1 -2
- package/en/configure/app/runtime/router.mdx +6 -6
- package/en/configure/app/runtime/state.mdx +14 -14
- package/en/configure/app/security/check-syntax.mdx +13 -0
- package/en/configure/app/security/sri.mdx +4 -3
- package/en/configure/app/server/base-url.mdx +2 -2
- package/en/configure/app/server/enable-framework-ext.mdx +2 -2
- package/en/configure/app/server/port.mdx +2 -2
- package/en/configure/app/server/public-routes.mdx +2 -2
- package/en/configure/app/server/routes.mdx +2 -2
- package/en/configure/app/server/ssr-by-entries.mdx +2 -2
- package/en/configure/app/server/ssr.mdx +2 -2
- package/en/configure/app/source/alias.mdx +4 -3
- package/en/configure/app/source/compile-js-data-uri.mdx +4 -3
- package/en/configure/app/source/config-dir.mdx +2 -2
- package/en/configure/app/source/define.mdx +4 -3
- package/en/configure/app/source/design-system.mdx +2 -2
- package/en/configure/app/source/disable-default-entries.mdx +2 -2
- package/en/configure/app/source/disable-entry-dirs.mdx +2 -2
- package/en/configure/app/source/enable-async-entry.mdx +2 -2
- package/en/configure/app/source/entries-dir.mdx +2 -2
- package/en/configure/app/source/entries.mdx +2 -2
- package/en/configure/app/source/exclude.mdx +4 -3
- package/en/configure/app/source/global-vars.mdx +4 -3
- package/en/configure/app/source/include.mdx +4 -3
- package/en/configure/app/source/module-scopes.mdx +4 -3
- package/en/configure/app/source/pre-entry.mdx +4 -3
- package/en/configure/app/source/resolve-extension-prefix.mdx +4 -3
- package/en/configure/app/source/resolve-main-fields.mdx +4 -3
- package/en/configure/app/testing/transformer.mdx +2 -2
- package/en/configure/app/tools/autoprefixer.mdx +4 -3
- package/en/configure/app/tools/babel.mdx +4 -3
- package/en/configure/app/tools/css-extract.mdx +4 -3
- package/en/configure/app/tools/css-loader.mdx +4 -3
- package/en/configure/app/tools/dev-server.mdx +4 -3
- package/en/configure/app/tools/esbuild.mdx +2 -2
- package/en/configure/app/tools/html-plugin.mdx +4 -3
- package/en/configure/app/tools/inspector.mdx +4 -3
- package/en/configure/app/tools/jest.mdx +2 -2
- package/en/configure/app/tools/less.mdx +4 -3
- package/en/configure/app/tools/minify-css.mdx +4 -3
- package/en/configure/app/tools/postcss.mdx +4 -3
- package/en/configure/app/tools/pug.mdx +4 -3
- package/en/configure/app/tools/sass.mdx +4 -3
- package/en/configure/app/tools/style-loader.mdx +4 -3
- package/en/configure/app/tools/styled-components.mdx +4 -3
- package/en/configure/app/tools/swc.mdx +2 -2
- package/en/configure/app/tools/tailwindcss.mdx +8 -16
- package/en/configure/app/tools/terser.mdx +4 -3
- package/en/configure/app/tools/ts-checker.mdx +4 -3
- package/en/configure/app/tools/ts-loader.mdx +4 -3
- package/en/configure/app/tools/webpack-chain.mdx +4 -3
- package/en/configure/app/tools/webpack.mdx +4 -3
- package/en/configure/app/usage.mdx +54 -8
- package/en/guides/basic-features/builder.mdx +3 -3
- package/en/guides/topic-detail/generator/config/common.mdx +12 -12
- package/package.json +3 -3
- package/scripts/config.ts +5 -4
- package/scripts/summary.en.json +1 -1
- package/scripts/summary.zh.json +1 -1
- package/zh/apis/app/commands/test.mdx +1 -1
- package/zh/apis/app/hooks/api/functions/api.mdx +2 -2
- package/zh/apis/app/hooks/api/test.mdx +1 -1
- package/zh/apis/app/hooks/config/storybook.mdx +1 -1
- package/zh/apis/app/hooks/config/upload.mdx +1 -1
- package/zh/apis/app/hooks/server/test.mdx +1 -1
- package/zh/apis/app/hooks/src/stories.mdx +1 -1
- package/zh/apis/app/hooks/src/test.mdx +1 -1
- package/zh/apis/app/runtime/testing/cleanup.mdx +1 -1
- package/zh/apis/monorepo/commands/bump.mdx +1 -1
- package/zh/apis/monorepo/commands/change.mdx +1 -1
- package/zh/apis/monorepo/hooks/apps.mdx +1 -1
- package/zh/apis/monorepo/hooks/examples.mdx +1 -1
- package/zh/apis/monorepo/hooks/features.mdx +1 -1
- package/zh/apis/monorepo/hooks/packages.mdx +1 -1
- package/zh/components/global-proxy-config.mdx +3 -3
- package/zh/configure/app/auto-load-plugin.mdx +2 -2
- package/zh/configure/app/bff/prefix.mdx +2 -2
- package/zh/configure/app/bff/proxy.mdx +3 -3
- package/zh/configure/app/builder-plugins.mdx +2 -2
- package/zh/configure/app/deploy/microFrontend.mdx +6 -6
- package/zh/configure/app/dev/asset-prefix.mdx +4 -3
- package/zh/configure/app/dev/hmr.mdx +4 -3
- package/zh/configure/app/dev/https.mdx +4 -3
- package/zh/configure/app/dev/port.mdx +4 -3
- package/zh/configure/app/dev/progress-bar.mdx +4 -3
- package/zh/configure/app/dev/start-url.mdx +4 -3
- package/zh/configure/app/experiments/lazy-compilation.mdx +4 -3
- package/zh/configure/app/html/app-icon.mdx +4 -3
- package/zh/configure/app/html/crossorigin.mdx +4 -3
- package/zh/configure/app/html/disable-html-folder.mdx +4 -3
- package/zh/configure/app/html/favicon-by-entries.mdx +4 -3
- package/zh/configure/app/html/favicon.mdx +4 -3
- package/zh/configure/app/html/inject-by-entries.mdx +4 -3
- package/zh/configure/app/html/inject.mdx +4 -3
- package/zh/configure/app/html/meta-by-entries.mdx +4 -3
- package/zh/configure/app/html/meta.mdx +4 -3
- package/zh/configure/app/html/mount-id.mdx +4 -3
- package/zh/configure/app/html/tags-by-entries.mdx +4 -3
- package/zh/configure/app/html/tags.mdx +4 -3
- package/zh/configure/app/html/template-by-entries.mdx +4 -3
- package/zh/configure/app/html/template-parameters-by-entries.mdx +4 -3
- package/zh/configure/app/html/template-parameters.mdx +4 -3
- package/zh/configure/app/html/template.mdx +4 -3
- package/zh/configure/app/html/title-by-entries.mdx +4 -3
- package/zh/configure/app/html/title.mdx +4 -3
- package/zh/configure/app/output/asset-prefix.mdx +4 -3
- package/zh/configure/app/output/assets-retry.mdx +4 -3
- package/zh/configure/app/output/charset.mdx +4 -3
- package/zh/configure/app/output/clean-dist-path.mdx +4 -3
- package/zh/configure/app/output/convert-to-rem.mdx +4 -3
- package/zh/configure/app/output/copy.mdx +4 -3
- package/zh/configure/app/output/css-module-local-ident-name.mdx +4 -3
- package/zh/configure/app/output/data-uri-limit.mdx +4 -3
- package/zh/configure/app/output/disable-css-extract.mdx +4 -3
- package/zh/configure/app/output/disable-css-module-extension.mdx +4 -3
- package/zh/configure/app/output/disable-filename-hash.mdx +4 -3
- package/zh/configure/app/output/disable-inline-runtime-chunk.mdx +4 -3
- package/zh/configure/app/output/disable-minimize.mdx +4 -3
- package/zh/configure/app/output/disable-node-polyfill.mdx +2 -2
- package/zh/configure/app/output/disable-source-map.mdx +4 -3
- package/zh/configure/app/output/disable-ts-checker.mdx +4 -3
- package/zh/configure/app/output/dist-path.mdx +4 -3
- package/zh/configure/app/output/enable-asset-fallback.mdx +4 -3
- package/zh/configure/app/output/enable-asset-manifest.mdx +4 -3
- package/zh/configure/app/output/enable-css-module-tsdeclaration.mdx +4 -3
- package/zh/configure/app/output/enable-inline-scripts.mdx +4 -3
- package/zh/configure/app/output/enable-inline-styles.mdx +4 -3
- package/zh/configure/app/output/enable-latest-decorators.mdx +4 -3
- package/zh/configure/app/output/externals.mdx +4 -3
- package/zh/configure/app/output/filename.mdx +4 -3
- package/zh/configure/app/output/legal-comments.mdx +4 -3
- package/zh/configure/app/output/override-browserslist.mdx +4 -3
- package/zh/configure/app/output/polyfill.mdx +4 -3
- package/zh/configure/app/output/ssg.mdx +2 -2
- package/zh/configure/app/output/svg-default-export.mdx +4 -3
- package/zh/configure/app/performance/build-cache.mdx +4 -3
- package/zh/configure/app/performance/bundle-analyze.mdx +4 -3
- package/zh/configure/app/performance/chunk-split.mdx +4 -3
- package/zh/configure/app/performance/print-file-size.mdx +4 -3
- package/zh/configure/app/performance/profile.mdx +4 -3
- package/zh/configure/app/performance/remove-console.mdx +4 -3
- package/zh/configure/app/performance/remove-moment-locale.mdx +4 -3
- package/zh/configure/app/plugins.mdx +2 -2
- package/zh/configure/app/runtime/intro.mdx +3 -3
- package/zh/configure/app/runtime/master-app.mdx +1 -1
- package/zh/configure/app/runtime/router.mdx +6 -6
- package/zh/configure/app/runtime/state.mdx +14 -14
- package/zh/configure/app/security/check-syntax.mdx +13 -0
- package/zh/configure/app/security/sri.mdx +4 -3
- package/zh/configure/app/server/base-url.mdx +2 -2
- package/zh/configure/app/server/enable-framework-ext.mdx +2 -2
- package/zh/configure/app/server/port.mdx +2 -2
- package/zh/configure/app/server/public-routes.mdx +2 -2
- package/zh/configure/app/server/routes.mdx +2 -2
- package/zh/configure/app/server/ssr-by-entries.mdx +3 -3
- package/zh/configure/app/server/ssr.mdx +2 -2
- package/zh/configure/app/source/alias.mdx +4 -3
- package/zh/configure/app/source/compile-js-data-uri.mdx +4 -3
- package/zh/configure/app/source/config-dir.mdx +2 -2
- package/zh/configure/app/source/define.mdx +4 -3
- package/zh/configure/app/source/design-system.mdx +2 -2
- package/zh/configure/app/source/disable-default-entries.mdx +2 -2
- package/zh/configure/app/source/disable-entry-dirs.mdx +2 -2
- package/zh/configure/app/source/enable-async-entry.mdx +2 -2
- package/zh/configure/app/source/entries-dir.mdx +2 -2
- package/zh/configure/app/source/entries.mdx +2 -2
- package/zh/configure/app/source/exclude.mdx +4 -3
- package/zh/configure/app/source/global-vars.mdx +4 -3
- package/zh/configure/app/source/include.mdx +4 -3
- package/zh/configure/app/source/module-scopes.mdx +4 -3
- package/zh/configure/app/source/pre-entry.mdx +4 -3
- package/zh/configure/app/source/resolve-extension-prefix.mdx +4 -3
- package/zh/configure/app/source/resolve-main-fields.mdx +4 -3
- package/zh/configure/app/testing/transformer.mdx +2 -2
- package/zh/configure/app/tools/autoprefixer.mdx +4 -3
- package/zh/configure/app/tools/babel.mdx +4 -3
- package/zh/configure/app/tools/css-extract.mdx +4 -3
- package/zh/configure/app/tools/css-loader.mdx +4 -3
- package/zh/configure/app/tools/dev-server.mdx +4 -3
- package/zh/configure/app/tools/esbuild.mdx +2 -2
- package/zh/configure/app/tools/html-plugin.mdx +4 -3
- package/zh/configure/app/tools/inspector.mdx +4 -3
- package/zh/configure/app/tools/jest.mdx +2 -2
- package/zh/configure/app/tools/less.mdx +4 -3
- package/zh/configure/app/tools/minify-css.mdx +4 -3
- package/zh/configure/app/tools/postcss.mdx +4 -3
- package/zh/configure/app/tools/pug.mdx +4 -3
- package/zh/configure/app/tools/sass.mdx +4 -3
- package/zh/configure/app/tools/style-loader.mdx +4 -3
- package/zh/configure/app/tools/styled-components.mdx +4 -3
- package/zh/configure/app/tools/swc.mdx +2 -2
- package/zh/configure/app/tools/tailwindcss.mdx +10 -16
- package/zh/configure/app/tools/terser.mdx +4 -3
- package/zh/configure/app/tools/ts-checker.mdx +4 -3
- package/zh/configure/app/tools/ts-loader.mdx +4 -3
- package/zh/configure/app/tools/webpack-chain.mdx +4 -3
- package/zh/configure/app/tools/webpack.mdx +4 -3
- package/zh/configure/app/usage.mdx +54 -8
- package/zh/guides/advanced-features/bff/function.mdx +3 -3
- package/zh/guides/advanced-features/code-split.mdx +1 -1
- package/zh/guides/advanced-features/compatibility.mdx +1 -1
- package/zh/guides/advanced-features/eslint.mdx +3 -3
- package/zh/guides/advanced-features/ssr.mdx +1 -1
- package/zh/guides/basic-features/alias.mdx +1 -1
- package/zh/guides/basic-features/builder.mdx +2 -2
- package/zh/guides/basic-features/css/postcss.mdx +1 -1
- package/zh/guides/basic-features/html.mdx +1 -1
- package/zh/guides/topic-detail/framework-plugin/hook.mdx +1 -1
- package/zh/guides/topic-detail/generator/config/common.mdx +12 -12
- package/zh/guides/topic-detail/generator/plugin/api/input/addInputBefore.mdx +1 -1
- package/zh/guides/topic-detail/micro-frontend/c05-mixed-stack.mdx +1 -1
- package/zh/guides/topic-detail/model/auto-actions.mdx +1 -1
- package/zh/guides/topic-detail/model/define-model.mdx +1 -1
- package/zh/guides/topic-detail/model/manage-effects.mdx +1 -1
- package/zh/guides/topic-detail/model/quick-start.mdx +2 -2
- package/zh/guides/topic-detail/model/test-model.mdx +1 -1
- package/zh/guides/topic-detail/model/use-model.mdx +3 -3
- package/zh/guides/topic-detail/monorepo/create-sub-project.mdx +2 -2
- package/zh/guides/topic-detail/monorepo/sub-project-interface.mdx +2 -2
- package/zh/tutorials/first-app/c02-component.mdx +1 -1
- package/zh/tutorials/first-app/c03-css.mdx +3 -3
- package/zh/tutorials/first-app/c04-routes.mdx +1 -1
- package/zh/tutorials/first-app/c06-model.mdx +1 -1
@@ -4,8 +4,8 @@ sidebar_label: microFrontend
|
|
4
4
|
|
5
5
|
# deploy.microFrontend
|
6
6
|
|
7
|
-
-
|
8
|
-
-
|
7
|
+
- **类型:** `object`
|
8
|
+
- **默认值:** `{ enableHtmlEntry: true, externalBasicLibrary: false }`
|
9
9
|
|
10
10
|
```ts
|
11
11
|
interface MicroFrontend {
|
@@ -38,9 +38,9 @@ export default defineConfig({
|
|
38
38
|
|
39
39
|
### enableHtmlEntry
|
40
40
|
|
41
|
-
-
|
41
|
+
- **类型:** `boolean`
|
42
42
|
|
43
|
-
-
|
43
|
+
- **默认值:** `true`
|
44
44
|
|
45
45
|
是否启用 html 入口的功能,默认为 `true`,将子应用构建成 `HTML` 模式,Garfish 支持了 `html` 入口,可以开启开选项,体验对应功能,为 HTML 入口时直接将子应用 entry 指向子应用的 html 即可。
|
46
46
|
|
@@ -48,8 +48,8 @@ export default defineConfig({
|
|
48
48
|
|
49
49
|
### externalBasicLibrary
|
50
50
|
|
51
|
-
-
|
51
|
+
- **类型:** `boolean`
|
52
52
|
|
53
|
-
-
|
53
|
+
- **默认值:** `false`
|
54
54
|
|
55
55
|
是否 `external` 基础库,当设置为 `true` 时,当前子应用将会 `external`:`react`、`react-dom`,`EdenX` 主应用会自动 `setExternal` 这两个基础库,如果其他类型的框架请通过 `Garfish.setExternal` 增加 `react`、`react-dom` 依赖
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: dev.assetPrefix
|
3
2
|
sidebar_label: assetPrefix
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# dev.assetPrefix
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.assetPrefix](https://modernjs.dev/builder/api/config-dev.html#dev-assetprefix)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/dev/assetPrefix.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: dev.hmr
|
3
2
|
sidebar_label: hmr
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# dev.hmr
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.hmr](https://modernjs.dev/builder/api/config-dev.html#dev-hmr)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/dev/hmr.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: dev.https
|
3
2
|
sidebar_label: https
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# dev.https
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.https](https://modernjs.dev/builder/api/config-dev.html#dev-https)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/dev/https.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: dev.port
|
3
2
|
sidebar_label: port
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# dev.port
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.port](https://modernjs.dev/builder/api/config-dev.html#dev-port)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/dev/port.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: dev.progressBar
|
3
2
|
sidebar_label: progressBar
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# dev.progressBar
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.progressBar](https://modernjs.dev/builder/api/config-dev.html#dev-progressbar)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/dev/progressBar.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: dev.startUrl
|
3
2
|
sidebar_label: startUrl
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# dev.startUrl
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.startUrl](https://modernjs.dev/builder/api/config-dev.html#dev-starturl)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/dev/startUrl.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: experiments.lazyCompilation
|
3
2
|
sidebar_label: lazyCompilation
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# experiments.lazyCompilation
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [experiments.lazyCompilation](https://modernjs.dev/builder/api/config-experiments.html#experiments-lazycompilation)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/experiments/lazyCompilation.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.appIcon
|
3
2
|
sidebar_label: appIcon
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.appIcon
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.appIcon](https://modernjs.dev/builder/api/config-html.html#html-appicon)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/appIcon.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.crossorigin
|
3
2
|
sidebar_label: crossorigin
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.crossorigin
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.crossorigin](https://modernjs.dev/builder/api/config-html.html#html-crossorigin)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/crossorigin.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.disableHtmlFolder
|
3
2
|
sidebar_label: disableHtmlFolder
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.disableHtmlFolder
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.disableHtmlFolder](https://modernjs.dev/builder/api/config-html.html#html-disablehtmlfolder)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/disableHtmlFolder.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.faviconByEntries
|
3
2
|
sidebar_label: faviconByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.faviconByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.faviconByEntries](https://modernjs.dev/builder/api/config-html.html#html-faviconbyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/faviconByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.favicon
|
3
2
|
sidebar_label: favicon
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.favicon
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.favicon](https://modernjs.dev/builder/api/config-html.html#html-favicon)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/favicon.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.injectByEntries
|
3
2
|
sidebar_label: injectByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.injectByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.injectByEntries](https://modernjs.dev/builder/api/config-html.html#html-injectbyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/injectByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.inject
|
3
2
|
sidebar_label: inject
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.inject
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.inject](https://modernjs.dev/builder/api/config-html.html#html-inject)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/inject.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.metaByEntries
|
3
2
|
sidebar_label: metaByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.metaByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.metaByEntries](https://modernjs.dev/builder/api/config-html.html#html-metabyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/metaByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.meta
|
3
2
|
sidebar_label: meta
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.meta
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.meta](https://modernjs.dev/builder/api/config-html.html#html-meta)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/meta.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.mountId
|
3
2
|
sidebar_label: mountId
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.mountId
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.mountId](https://modernjs.dev/builder/api/config-html.html#html-mountid)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/mountId.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.tagsByEntries
|
3
2
|
sidebar_label: tagsByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.tagsByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.tagsByEntries](https://modernjs.dev/builder/api/config-html.html#html-tagsbyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/tagsByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.tags
|
3
2
|
sidebar_label: tags
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.tags
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.tags](https://modernjs.dev/builder/api/config-html.html#html-tags)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/tags.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.templateByEntries
|
3
2
|
sidebar_label: templateByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.templateByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.templateByEntries](https://modernjs.dev/builder/api/config-html.html#html-templatebyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/templateByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.templateParametersByEntries
|
3
2
|
sidebar_label: templateParametersByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.templateParametersByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.templateParametersByEntries](https://modernjs.dev/builder/api/config-html.html#html-templateparametersbyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/templateParametersByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.templateParameters
|
3
2
|
sidebar_label: templateParameters
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.templateParameters
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.templateParameters](https://modernjs.dev/builder/api/config-html.html#html-templateparameters)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/templateParameters.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.template
|
3
2
|
sidebar_label: template
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.template
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.template](https://modernjs.dev/builder/api/config-html.html#html-template)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/template.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.titleByEntries
|
3
2
|
sidebar_label: titleByEntries
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.titleByEntries
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.titleByEntries](https://modernjs.dev/builder/api/config-html.html#html-titlebyentries)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/titleByEntries.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: html.title
|
3
2
|
sidebar_label: title
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# html.title
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.title](https://modernjs.dev/builder/api/config-html.html#html-title)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/html/title.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.assetPrefix
|
3
2
|
sidebar_label: assetPrefix
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.assetPrefix
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.assetPrefix](https://modernjs.dev/builder/api/config-output.html#output-assetprefix)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/assetPrefix.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.assetsRetry
|
3
2
|
sidebar_label: assetsRetry
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.assetsRetry
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.assetsRetry](https://modernjs.dev/builder/api/config-output.html#output-assetsretry)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/assetsRetry.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.charset
|
3
2
|
sidebar_label: charset
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.charset
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.charset](https://modernjs.dev/builder/api/config-output.html#output-charset)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/charset.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.cleanDistPath
|
3
2
|
sidebar_label: cleanDistPath
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.cleanDistPath
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.cleanDistPath](https://modernjs.dev/builder/api/config-output.html#output-cleandistpath)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/cleanDistPath.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.convertToRem
|
3
2
|
sidebar_label: convertToRem
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.convertToRem
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.convertToRem](https://modernjs.dev/builder/api/config-output.html#output-converttorem)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/convertToRem.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.copy
|
3
2
|
sidebar_label: copy
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.copy
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.copy](https://modernjs.dev/builder/api/config-output.html#output-copy)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/copy.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.cssModuleLocalIdentName
|
3
2
|
sidebar_label: cssModuleLocalIdentName
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.cssModuleLocalIdentName
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.cssModuleLocalIdentName](https://modernjs.dev/builder/api/config-output.html#output-cssmodulelocalidentname)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/cssModuleLocalIdentName.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.dataUriLimit
|
3
2
|
sidebar_label: dataUriLimit
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.dataUriLimit
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.dataUriLimit](https://modernjs.dev/builder/api/config-output.html#output-dataurilimit)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/dataUriLimit.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.disableCssExtract
|
3
2
|
sidebar_label: disableCssExtract
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.disableCssExtract
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableCssExtract](https://modernjs.dev/builder/api/config-output.html#output-disablecssextract)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableCssExtract.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.disableCssModuleExtension
|
3
2
|
sidebar_label: disableCssModuleExtension
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.disableCssModuleExtension
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableCssModuleExtension](https://modernjs.dev/builder/api/config-output.html#output-disablecssmoduleextension)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableCssModuleExtension.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.disableFilenameHash
|
3
2
|
sidebar_label: disableFilenameHash
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.disableFilenameHash
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableFilenameHash](https://modernjs.dev/builder/api/config-output.html#output-disablefilenamehash)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableFilenameHash.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.disableInlineRuntimeChunk
|
3
2
|
sidebar_label: disableInlineRuntimeChunk
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.disableInlineRuntimeChunk
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableInlineRuntimeChunk](https://modernjs.dev/builder/api/config-output.html#output-disableinlineruntimechunk)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableInlineRuntimeChunk.md'
|
@@ -1,10 +1,11 @@
|
|
1
1
|
---
|
2
|
-
title: output.disableMinimize
|
3
2
|
sidebar_label: disableMinimize
|
4
3
|
---
|
5
4
|
|
6
|
-
|
7
|
-
|
5
|
+
# output.disableMinimize
|
6
|
+
|
7
|
+
:::tip
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableMinimize](https://modernjs.dev/builder/api/config-output.html#output-disableminimize)。
|
8
9
|
:::
|
9
10
|
|
10
11
|
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableMinimize.md'
|