@modern-js/main-doc 0.0.0-next-1678932055726 → 0.0.0-next-1678938221663
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/en/configure/app/dev/asset-prefix.mdx +13 -0
- package/en/configure/app/dev/before-start-url.mdx +13 -0
- package/en/configure/app/dev/hmr.mdx +13 -0
- package/en/configure/app/dev/host.mdx +13 -0
- package/en/configure/app/dev/https.mdx +13 -0
- package/en/configure/app/dev/port.mdx +13 -0
- package/en/configure/app/dev/progress-bar.mdx +13 -0
- package/en/configure/app/dev/start-url.mdx +13 -0
- package/en/configure/app/experiments/lazy-compilation.mdx +13 -0
- package/en/configure/app/html/app-icon.mdx +13 -0
- package/en/configure/app/html/crossorigin.mdx +13 -0
- package/en/configure/app/html/disable-html-folder.mdx +13 -0
- package/en/configure/app/html/favicon-by-entries.mdx +13 -0
- package/en/configure/app/html/favicon.mdx +13 -0
- package/en/configure/app/html/inject-by-entries.mdx +13 -0
- package/en/configure/app/html/inject.mdx +13 -0
- package/en/configure/app/html/meta-by-entries.mdx +13 -0
- package/en/configure/app/html/meta.mdx +13 -0
- package/en/configure/app/html/mount-id.mdx +13 -0
- package/en/configure/app/html/tags-by-entries.mdx +13 -0
- package/en/configure/app/html/tags.mdx +13 -0
- package/en/configure/app/html/template-by-entries.mdx +13 -0
- package/en/configure/app/html/template-parameters-by-entries.mdx +13 -0
- package/en/configure/app/html/template-parameters.mdx +13 -0
- package/en/configure/app/html/template.mdx +13 -0
- package/en/configure/app/html/title-by-entries.mdx +13 -0
- package/en/configure/app/html/title.mdx +13 -0
- package/en/configure/app/output/asset-prefix.mdx +13 -0
- package/en/configure/app/output/assets-retry.mdx +13 -0
- package/en/configure/app/output/charset.mdx +13 -0
- package/en/configure/app/output/clean-dist-path.mdx +13 -0
- package/en/configure/app/output/convert-to-rem.mdx +13 -0
- package/en/configure/app/output/copy.mdx +13 -0
- package/en/configure/app/output/css-module-local-ident-name.mdx +13 -0
- package/en/configure/app/output/data-uri-limit.mdx +13 -0
- package/en/configure/app/output/disable-css-extract.mdx +13 -0
- package/en/configure/app/output/disable-css-module-extension.mdx +13 -0
- package/en/configure/app/output/disable-filename-hash.mdx +13 -0
- package/en/configure/app/output/disable-inline-runtime-chunk.mdx +13 -0
- package/en/configure/app/output/disable-minimize.mdx +13 -0
- package/en/configure/app/output/disable-source-map.mdx +13 -0
- package/en/configure/app/output/disable-ts-checker.mdx +13 -0
- package/en/configure/app/output/dist-path.mdx +13 -0
- package/en/configure/app/output/enable-asset-fallback.mdx +13 -0
- package/en/configure/app/output/enable-asset-manifest.mdx +13 -0
- package/en/configure/app/output/enable-css-module-tsdeclaration.mdx +13 -0
- package/en/configure/app/output/enable-inline-scripts.mdx +13 -0
- package/en/configure/app/output/enable-inline-styles.mdx +13 -0
- package/en/configure/app/output/enable-latest-decorators.mdx +13 -0
- package/en/configure/app/output/externals.mdx +13 -0
- package/en/configure/app/output/filename.mdx +13 -0
- package/en/configure/app/output/legal-comments.mdx +13 -0
- package/en/configure/app/output/override-browserslist.mdx +13 -0
- package/en/configure/app/output/polyfill.mdx +13 -0
- package/en/configure/app/output/svg-default-export.mdx +13 -0
- package/en/configure/app/performance/build-cache.mdx +13 -0
- package/en/configure/app/performance/bundle-analyze.mdx +13 -0
- package/en/configure/app/performance/chunk-split.mdx +13 -0
- package/en/configure/app/performance/print-file-size.mdx +13 -0
- package/en/configure/app/performance/profile.mdx +13 -0
- package/en/configure/app/performance/remove-console.mdx +13 -0
- package/en/configure/app/performance/remove-moment-locale.mdx +13 -0
- package/en/configure/app/security/check-syntax.mdx +13 -0
- package/en/configure/app/security/sri.mdx +13 -0
- package/en/configure/app/source/alias.mdx +13 -0
- package/en/configure/app/source/compile-js-data-uri.mdx +13 -0
- package/en/configure/app/source/define.mdx +13 -0
- package/en/configure/app/source/exclude.mdx +13 -0
- package/en/configure/app/source/global-vars.mdx +13 -0
- package/en/configure/app/source/include.mdx +13 -0
- package/en/configure/app/source/module-scopes.mdx +13 -0
- package/en/configure/app/source/pre-entry.mdx +13 -0
- package/en/configure/app/source/resolve-extension-prefix.mdx +13 -0
- package/en/configure/app/source/resolve-main-fields.mdx +13 -0
- package/en/configure/app/tools/autoprefixer.mdx +13 -0
- package/en/configure/app/tools/babel.mdx +13 -0
- package/en/configure/app/tools/css-extract.mdx +13 -0
- package/en/configure/app/tools/css-loader.mdx +13 -0
- package/en/configure/app/tools/dev-server.mdx +13 -0
- package/en/configure/app/tools/html-plugin.mdx +13 -0
- package/en/configure/app/tools/inspector.mdx +13 -0
- package/en/configure/app/tools/less.mdx +13 -0
- package/en/configure/app/tools/minify-css.mdx +13 -0
- package/en/configure/app/tools/postcss.mdx +13 -0
- package/en/configure/app/tools/pug.mdx +13 -0
- package/en/configure/app/tools/rspack.mdx +13 -0
- package/en/configure/app/tools/sass.mdx +13 -0
- package/en/configure/app/tools/style-loader.mdx +13 -0
- package/en/configure/app/tools/styled-components.mdx +13 -0
- package/en/configure/app/tools/terser.mdx +13 -0
- package/en/configure/app/tools/ts-checker.mdx +13 -0
- package/en/configure/app/tools/ts-loader.mdx +13 -0
- package/en/configure/app/tools/webpack-chain.mdx +13 -0
- package/en/configure/app/tools/webpack.mdx +13 -0
- package/package.json +5 -5
- package/zh/configure/app/dev/asset-prefix.mdx +13 -0
- package/zh/configure/app/dev/before-start-url.mdx +13 -0
- package/zh/configure/app/dev/hmr.mdx +13 -0
- package/zh/configure/app/dev/host.mdx +13 -0
- package/zh/configure/app/dev/https.mdx +13 -0
- package/zh/configure/app/dev/port.mdx +13 -0
- package/zh/configure/app/dev/progress-bar.mdx +13 -0
- package/zh/configure/app/dev/start-url.mdx +13 -0
- package/zh/configure/app/experiments/lazy-compilation.mdx +13 -0
- package/zh/configure/app/html/app-icon.mdx +13 -0
- package/zh/configure/app/html/crossorigin.mdx +13 -0
- package/zh/configure/app/html/disable-html-folder.mdx +13 -0
- package/zh/configure/app/html/favicon-by-entries.mdx +13 -0
- package/zh/configure/app/html/favicon.mdx +13 -0
- package/zh/configure/app/html/inject-by-entries.mdx +13 -0
- package/zh/configure/app/html/inject.mdx +13 -0
- package/zh/configure/app/html/meta-by-entries.mdx +13 -0
- package/zh/configure/app/html/meta.mdx +13 -0
- package/zh/configure/app/html/mount-id.mdx +13 -0
- package/zh/configure/app/html/tags-by-entries.mdx +13 -0
- package/zh/configure/app/html/tags.mdx +13 -0
- package/zh/configure/app/html/template-by-entries.mdx +13 -0
- package/zh/configure/app/html/template-parameters-by-entries.mdx +13 -0
- package/zh/configure/app/html/template-parameters.mdx +13 -0
- package/zh/configure/app/html/template.mdx +13 -0
- package/zh/configure/app/html/title-by-entries.mdx +13 -0
- package/zh/configure/app/html/title.mdx +13 -0
- package/zh/configure/app/output/asset-prefix.mdx +13 -0
- package/zh/configure/app/output/assets-retry.mdx +13 -0
- package/zh/configure/app/output/charset.mdx +13 -0
- package/zh/configure/app/output/clean-dist-path.mdx +13 -0
- package/zh/configure/app/output/convert-to-rem.mdx +13 -0
- package/zh/configure/app/output/copy.mdx +13 -0
- package/zh/configure/app/output/css-module-local-ident-name.mdx +13 -0
- package/zh/configure/app/output/data-uri-limit.mdx +13 -0
- package/zh/configure/app/output/disable-css-extract.mdx +13 -0
- package/zh/configure/app/output/disable-css-module-extension.mdx +13 -0
- package/zh/configure/app/output/disable-filename-hash.mdx +13 -0
- package/zh/configure/app/output/disable-inline-runtime-chunk.mdx +13 -0
- package/zh/configure/app/output/disable-minimize.mdx +13 -0
- package/zh/configure/app/output/disable-source-map.mdx +13 -0
- package/zh/configure/app/output/disable-ts-checker.mdx +13 -0
- package/zh/configure/app/output/dist-path.mdx +13 -0
- package/zh/configure/app/output/enable-asset-fallback.mdx +13 -0
- package/zh/configure/app/output/enable-asset-manifest.mdx +13 -0
- package/zh/configure/app/output/enable-css-module-tsdeclaration.mdx +13 -0
- package/zh/configure/app/output/enable-inline-scripts.mdx +13 -0
- package/zh/configure/app/output/enable-inline-styles.mdx +13 -0
- package/zh/configure/app/output/enable-latest-decorators.mdx +13 -0
- package/zh/configure/app/output/externals.mdx +13 -0
- package/zh/configure/app/output/filename.mdx +13 -0
- package/zh/configure/app/output/legal-comments.mdx +13 -0
- package/zh/configure/app/output/override-browserslist.mdx +13 -0
- package/zh/configure/app/output/polyfill.mdx +13 -0
- package/zh/configure/app/output/svg-default-export.mdx +13 -0
- package/zh/configure/app/performance/build-cache.mdx +13 -0
- package/zh/configure/app/performance/bundle-analyze.mdx +13 -0
- package/zh/configure/app/performance/chunk-split.mdx +13 -0
- package/zh/configure/app/performance/print-file-size.mdx +13 -0
- package/zh/configure/app/performance/profile.mdx +13 -0
- package/zh/configure/app/performance/remove-console.mdx +13 -0
- package/zh/configure/app/performance/remove-moment-locale.mdx +13 -0
- package/zh/configure/app/security/check-syntax.mdx +13 -0
- package/zh/configure/app/security/sri.mdx +13 -0
- package/zh/configure/app/source/alias.mdx +13 -0
- package/zh/configure/app/source/compile-js-data-uri.mdx +13 -0
- package/zh/configure/app/source/define.mdx +13 -0
- package/zh/configure/app/source/exclude.mdx +13 -0
- package/zh/configure/app/source/global-vars.mdx +13 -0
- package/zh/configure/app/source/include.mdx +13 -0
- package/zh/configure/app/source/module-scopes.mdx +13 -0
- package/zh/configure/app/source/pre-entry.mdx +13 -0
- package/zh/configure/app/source/resolve-extension-prefix.mdx +13 -0
- package/zh/configure/app/source/resolve-main-fields.mdx +13 -0
- package/zh/configure/app/tools/autoprefixer.mdx +13 -0
- package/zh/configure/app/tools/babel.mdx +13 -0
- package/zh/configure/app/tools/css-extract.mdx +13 -0
- package/zh/configure/app/tools/css-loader.mdx +13 -0
- package/zh/configure/app/tools/dev-server.mdx +13 -0
- package/zh/configure/app/tools/html-plugin.mdx +13 -0
- package/zh/configure/app/tools/inspector.mdx +13 -0
- package/zh/configure/app/tools/less.mdx +13 -0
- package/zh/configure/app/tools/minify-css.mdx +13 -0
- package/zh/configure/app/tools/postcss.mdx +13 -0
- package/zh/configure/app/tools/pug.mdx +13 -0
- package/zh/configure/app/tools/rspack.mdx +13 -0
- package/zh/configure/app/tools/sass.mdx +13 -0
- package/zh/configure/app/tools/style-loader.mdx +13 -0
- package/zh/configure/app/tools/styled-components.mdx +13 -0
- package/zh/configure/app/tools/terser.mdx +13 -0
- package/zh/configure/app/tools/ts-checker.mdx +13 -0
- package/zh/configure/app/tools/ts-loader.mdx +13 -0
- package/zh/configure/app/tools/webpack-chain.mdx +13 -0
- package/zh/configure/app/tools/webpack.mdx +13 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: styledComponents
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# tools.styledComponents
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
This config is provided by Modern.js Builder, more detail can see [tools.styledComponents](https://modernjs.dev/builder/en/api/config-tools.html#toolsstyledcomponents).
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/en/config/tools/styledComponents.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: terser
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# tools.terser
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
This config is provided by Modern.js Builder, more detail can see [tools.terser](https://modernjs.dev/builder/en/api/config-tools.html#toolsterser).
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/en/config/tools/terser.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: tsChecker
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# tools.tsChecker
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
This config is provided by Modern.js Builder, more detail can see [tools.tsChecker](https://modernjs.dev/builder/en/api/config-tools.html#toolstschecker).
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/en/config/tools/tsChecker.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: tsLoader
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# tools.tsLoader
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
This config is provided by Modern.js Builder, more detail can see [tools.tsLoader](https://modernjs.dev/builder/en/api/config-tools.html#toolstsloader).
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/en/config/tools/tsLoader.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: webpackChain
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# tools.webpackChain
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
This config is provided by Modern.js Builder, more detail can see [tools.webpackChain](https://modernjs.dev/builder/en/api/config-tools.html#toolswebpackchain).
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/en/config/tools/webpackChain.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: webpack
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# tools.webpack
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
This config is provided by Modern.js Builder, more detail can see [tools.webpack](https://modernjs.dev/builder/en/api/config-tools.html#toolswebpack).
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/en/config/tools/webpack.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-1678938221663",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"registry": "https://registry.npmjs.org/",
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
20
|
+
"@modern-js/builder-doc": "0.0.0-next-1678938221663"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"classnames": "^2",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"fs-extra": "^10",
|
|
30
30
|
"@types/node": "^16",
|
|
31
31
|
"@types/fs-extra": "^9",
|
|
32
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
33
|
-
"@modern-js/doc-tools": "0.0.0-next-
|
|
34
|
-
"@modern-js/doc-plugin-auto-sidebar": "0.0.0-next-
|
|
32
|
+
"@modern-js/builder-doc": "0.0.0-next-1678938221663",
|
|
33
|
+
"@modern-js/doc-tools": "0.0.0-next-1678938221663",
|
|
34
|
+
"@modern-js/doc-plugin-auto-sidebar": "0.0.0-next-1678938221663"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "modern dev",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: assetPrefix
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.assetPrefix
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.assetPrefix](https://modernjs.dev/builder/api/config-dev.html#devassetprefix)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/assetPrefix.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: beforeStartUrl
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.beforeStartUrl
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.beforeStartUrl](https://modernjs.dev/builder/api/config-dev.html#devbeforestarturl)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/beforeStartUrl.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: hmr
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.hmr
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.hmr](https://modernjs.dev/builder/api/config-dev.html#devhmr)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/hmr.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: host
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.host
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.host](https://modernjs.dev/builder/api/config-dev.html#devhost)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/host.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: https
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.https
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.https](https://modernjs.dev/builder/api/config-dev.html#devhttps)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/https.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: port
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.port
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.port](https://modernjs.dev/builder/api/config-dev.html#devport)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/port.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: progressBar
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.progressBar
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.progressBar](https://modernjs.dev/builder/api/config-dev.html#devprogressbar)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/progressBar.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: startUrl
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# dev.startUrl
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [dev.startUrl](https://modernjs.dev/builder/api/config-dev.html#devstarturl)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/dev/startUrl.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: lazyCompilation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# experiments.lazyCompilation
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [experiments.lazyCompilation](https://modernjs.dev/builder/api/config-experiments.html#experimentslazycompilation)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/experiments/lazyCompilation.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: appIcon
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.appIcon
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.appIcon](https://modernjs.dev/builder/api/config-html.html#htmlappicon)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/appIcon.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: crossorigin
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.crossorigin
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.crossorigin](https://modernjs.dev/builder/api/config-html.html#htmlcrossorigin)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/crossorigin.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: disableHtmlFolder
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.disableHtmlFolder
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.disableHtmlFolder](https://modernjs.dev/builder/api/config-html.html#htmldisablehtmlfolder)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/disableHtmlFolder.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: faviconByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.faviconByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.faviconByEntries](https://modernjs.dev/builder/api/config-html.html#htmlfaviconbyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/faviconByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: favicon
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.favicon
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.favicon](https://modernjs.dev/builder/api/config-html.html#htmlfavicon)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/favicon.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: injectByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.injectByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.injectByEntries](https://modernjs.dev/builder/api/config-html.html#htmlinjectbyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/injectByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: inject
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.inject
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.inject](https://modernjs.dev/builder/api/config-html.html#htmlinject)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/inject.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: metaByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.metaByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.metaByEntries](https://modernjs.dev/builder/api/config-html.html#htmlmetabyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/metaByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: meta
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.meta
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.meta](https://modernjs.dev/builder/api/config-html.html#htmlmeta)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/meta.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: mountId
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.mountId
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.mountId](https://modernjs.dev/builder/api/config-html.html#htmlmountid)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/mountId.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: tagsByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.tagsByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.tagsByEntries](https://modernjs.dev/builder/api/config-html.html#htmltagsbyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/tagsByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: tags
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.tags
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.tags](https://modernjs.dev/builder/api/config-html.html#htmltags)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/tags.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: templateByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.templateByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.templateByEntries](https://modernjs.dev/builder/api/config-html.html#htmltemplatebyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/templateByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: templateParametersByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.templateParametersByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.templateParametersByEntries](https://modernjs.dev/builder/api/config-html.html#htmltemplateparametersbyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/templateParametersByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: templateParameters
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.templateParameters
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.templateParameters](https://modernjs.dev/builder/api/config-html.html#htmltemplateparameters)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/templateParameters.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: template
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.template
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.template](https://modernjs.dev/builder/api/config-html.html#htmltemplate)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/template.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: titleByEntries
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.titleByEntries
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.titleByEntries](https://modernjs.dev/builder/api/config-html.html#htmltitlebyentries)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/titleByEntries.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: title
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# html.title
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [html.title](https://modernjs.dev/builder/api/config-html.html#htmltitle)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/html/title.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: assetPrefix
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.assetPrefix
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.assetPrefix](https://modernjs.dev/builder/api/config-output.html#outputassetprefix)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/assetPrefix.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: assetsRetry
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.assetsRetry
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.assetsRetry](https://modernjs.dev/builder/api/config-output.html#outputassetsretry)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/assetsRetry.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: charset
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.charset
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.charset](https://modernjs.dev/builder/api/config-output.html#outputcharset)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/charset.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: cleanDistPath
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.cleanDistPath
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.cleanDistPath](https://modernjs.dev/builder/api/config-output.html#outputcleandistpath)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/cleanDistPath.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: convertToRem
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.convertToRem
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.convertToRem](https://modernjs.dev/builder/api/config-output.html#outputconverttorem)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/convertToRem.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: copy
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.copy
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.copy](https://modernjs.dev/builder/api/config-output.html#outputcopy)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/copy.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: cssModuleLocalIdentName
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.cssModuleLocalIdentName
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.cssModuleLocalIdentName](https://modernjs.dev/builder/api/config-output.html#outputcssmodulelocalidentname)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/cssModuleLocalIdentName.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: dataUriLimit
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.dataUriLimit
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.dataUriLimit](https://modernjs.dev/builder/api/config-output.html#outputdataurilimit)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/dataUriLimit.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: disableCssExtract
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.disableCssExtract
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableCssExtract](https://modernjs.dev/builder/api/config-output.html#outputdisablecssextract)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableCssExtract.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_label: disableCssModuleExtension
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# output.disableCssModuleExtension
|
|
6
|
+
|
|
7
|
+
:::tip
|
|
8
|
+
该配置由 Modern.js Builder 提供,更多信息可参考 [output.disableCssModuleExtension](https://modernjs.dev/builder/api/config-output.html#outputdisablecssmoduleextension)。
|
|
9
|
+
:::
|
|
10
|
+
|
|
11
|
+
import Main from '@modern-js/builder-doc/docs/zh/config/output/disableCssModuleExtension.md';
|
|
12
|
+
|
|
13
|
+
<Main />
|