@modern-js/module-tools-docs 2.2.0-beta.0 → 2.2.1-beta.1
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/doc_build/static/css/main.css +3 -3
- package/doc_build/static/css/main.css.map +1 -1
- package/doc_build/static/js/async/en_api_config_build-config.js +2 -2
- package/doc_build/static/js/async/en_api_config_build-preset.js +2 -2
- package/doc_build/static/js/async/en_api_config_design-system.js +2 -2
- package/doc_build/static/js/async/en_api_config_plugins.js +2 -2
- package/doc_build/static/js/async/en_api_config_testing.js +2 -2
- package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +2 -2
- package/doc_build/static/js/async/en_guide_advance_asset.js +2 -2
- package/doc_build/static/js/async/en_guide_advance_build-umd.js +4 -4
- package/doc_build/static/js/async/en_guide_advance_copy.js +3 -3
- package/doc_build/static/js/async/en_guide_advance_external-dependency.js +4 -4
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +5 -5
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +2455 -75
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +1 -1
- package/doc_build/static/js/async/en_guide_advance_theme-config.js +3 -3
- package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +14 -152
- package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_command-preview.js +8 -8
- package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +126 -37
- package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +2 -2
- package/doc_build/static/js/async/en_guide_basic_test-your-project.js +2 -2
- package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +2791 -4
- package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_using-storybook.js +10 -10
- package/doc_build/static/js/async/en_guide_best-practices_components.js +3 -3
- package/doc_build/static/js/async/en_guide_intro_getting-started.js +2 -2
- package/doc_build/static/js/async/en_plugins_guide_getting-started.js +2 -2
- package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +2 -2
- package/doc_build/static/js/async/en_plugins_guide_setup-function.js +2 -2
- package/doc_build/static/js/async/zh_api_config_build-config.js +2 -2
- package/doc_build/static/js/async/zh_api_config_build-preset.js +2 -2
- package/doc_build/static/js/async/zh_api_config_design-system.js +2 -2
- package/doc_build/static/js/async/zh_api_config_plugins.js +2 -2
- package/doc_build/static/js/async/zh_api_config_testing.js +2 -2
- package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.js +2 -2
- package/doc_build/static/js/async/zh_guide_advance_asset.js +2 -2
- package/doc_build/static/js/async/zh_guide_advance_build-umd.js +2 -2
- package/doc_build/static/js/async/zh_guide_advance_copy.js +3 -3
- package/doc_build/static/js/async/zh_guide_advance_external-dependency.js +3 -3
- package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.js +5 -5
- package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js +2450 -74
- package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js.map +1 -1
- package/doc_build/static/js/async/zh_guide_advance_theme-config.js +3 -3
- package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js +14 -152
- package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js.map +1 -1
- package/doc_build/static/js/async/zh_guide_basic_command-preview.js +8 -8
- package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js +87 -9
- package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js.map +1 -1
- package/doc_build/static/js/async/zh_guide_basic_publish-your-project.js +7 -7
- package/doc_build/static/js/async/zh_guide_basic_test-your-project.js +410 -11
- package/doc_build/static/js/async/zh_guide_basic_test-your-project.js.map +1 -1
- package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js +2790 -3
- package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js.map +1 -1
- package/doc_build/static/js/async/zh_guide_basic_using-storybook.js +496 -405
- package/doc_build/static/js/async/zh_guide_basic_using-storybook.js.map +1 -1
- package/doc_build/static/js/async/zh_guide_best-practices_components.js +4 -4
- package/doc_build/static/js/async/zh_guide_intro_getting-started.js +2 -2
- package/doc_build/static/js/async/zh_plugins_guide_getting-started.js +2 -2
- package/doc_build/static/js/async/zh_plugins_guide_plugin-object.js +2 -2
- package/doc_build/static/js/async/zh_plugins_guide_setup-function.js +2 -2
- package/doc_build/static/js/builder-runtime.js +1 -1
- package/doc_build/static/js/builder-runtime.js.map +1 -1
- package/doc_build/static/js/main.js +211 -211
- package/doc_build/static/js/main.js.map +1 -1
- package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +70 -70
- package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +1 -1
- package/doc_build/static/search_index.json +1 -1
- package/docs/en/guide/advance/in-depth-about-dev-command.md +65 -12
- package/docs/en/guide/basic/before-getting-started.md +4 -14
- package/docs/en/guide/basic/command-preview.md +1 -1
- package/docs/en/guide/basic/modify-output-product.md +6 -2
- package/docs/en/guide/basic/use-micro-generator.md +62 -1
- package/docs/en/guide/basic/using-storybook.mdx +4 -4
- package/docs/zh/guide/advance/in-depth-about-dev-command.md +60 -13
- package/docs/zh/guide/basic/before-getting-started.md +4 -14
- package/docs/zh/guide/basic/command-preview.md +2 -2
- package/docs/zh/guide/basic/modify-output-product.md +5 -3
- package/docs/zh/guide/basic/publish-your-project.md +4 -4
- package/docs/zh/guide/basic/test-your-project.mdx +18 -5
- package/docs/zh/guide/basic/use-micro-generator.md +61 -1
- package/docs/zh/guide/basic/using-storybook.mdx +13 -10
- package/package.json +4 -4
- package/docs/.island/dist/404.html +0 -41
- package/docs/.island/dist/assets/asset.26aea654.js +0 -160
- package/docs/.island/dist/assets/asset.36e3d3c9.js +0 -160
- package/docs/.island/dist/assets/before-getting-started.0e863740.js +0 -87
- package/docs/.island/dist/assets/before-getting-started.2c6e6b8a.js +0 -87
- package/docs/.island/dist/assets/build-config.460d11d9.js +0 -804
- package/docs/.island/dist/assets/build-config.e155e534.js +0 -854
- package/docs/.island/dist/assets/build-preset.6c2c6c62.js +0 -256
- package/docs/.island/dist/assets/build-preset.d3da921d.js +0 -256
- package/docs/.island/dist/assets/build-umd.ba00f028.js +0 -264
- package/docs/.island/dist/assets/build-umd.edb9d163.js +0 -273
- package/docs/.island/dist/assets/command-preview.1dc93921.js +0 -264
- package/docs/.island/dist/assets/command-preview.ef7a9d01.js +0 -264
- package/docs/.island/dist/assets/components.esm.03560353.js +0 -9
- package/docs/.island/dist/assets/copy.28dc4d5f.js +0 -277
- package/docs/.island/dist/assets/copy.f4625565.js +0 -277
- package/docs/.island/dist/assets/design-system.8993234c.js +0 -1254
- package/docs/.island/dist/assets/design-system.b0ba163f.js +0 -639
- package/docs/.island/dist/assets/dev.b373b152.js +0 -37
- package/docs/.island/dist/assets/dev.b39fd42a.js +0 -37
- package/docs/.island/dist/assets/down.f35427d3.svg +0 -1
- package/docs/.island/dist/assets/extension.4bf3526b.js +0 -1
- package/docs/.island/dist/assets/extension.d64ed0b8.js +0 -469
- package/docs/.island/dist/assets/external-dependency.2ede7532.js +0 -156
- package/docs/.island/dist/assets/external-dependency.92ca89e0.js +0 -156
- package/docs/.island/dist/assets/getting-started.822cf0b2.js +0 -117
- package/docs/.island/dist/assets/getting-started.e2764829.js +0 -114
- package/docs/.island/dist/assets/github.3bf8ccee.svg +0 -1
- package/docs/.island/dist/assets/in-depth-about-build.94cc902d.js +0 -375
- package/docs/.island/dist/assets/in-depth-about-build.aa74de10.js +0 -374
- package/docs/.island/dist/assets/in-depth-about-dev-command.877bdb83.js +0 -33
- package/docs/.island/dist/assets/in-depth-about-dev-command.9736befd.js +0 -39
- package/docs/.island/dist/assets/index.01786ba7.js +0 -30
- package/docs/.island/dist/assets/index.6cef6f5f.js +0 -4
- package/docs/.island/dist/assets/index.cb118238.js +0 -36
- package/docs/.island/dist/assets/index.ccb6ce27.js +0 -4
- package/docs/.island/dist/assets/island_inject.69495876.js +0 -1
- package/docs/.island/dist/assets/island_inject.cdfb22d9.js +0 -1
- package/docs/.island/dist/assets/loading.8c9bb911.svg +0 -1
- package/docs/.island/dist/assets/modify-output-product.9e2394d7.js +0 -100
- package/docs/.island/dist/assets/modify-output-product.f363845a.js +0 -100
- package/docs/.island/dist/assets/moon.6b705924.svg +0 -3
- package/docs/.island/dist/assets/plugin.70a61997.js +0 -42
- package/docs/.island/dist/assets/plugin.80b12ee2.js +0 -42
- package/docs/.island/dist/assets/publish-your-project.7321c10e.js +0 -164
- package/docs/.island/dist/assets/publish-your-project.7326359f.js +0 -166
- package/docs/.island/dist/assets/right.89674cd7.svg +0 -1
- package/docs/.island/dist/assets/search.0aea6901.svg +0 -1
- package/docs/.island/dist/assets/search.11353245.js +0 -222
- package/docs/.island/dist/assets/search.a1b1cff3.js +0 -3
- package/docs/.island/dist/assets/search.f9025ced.js +0 -3
- package/docs/.island/dist/assets/style.09015a4b.css +0 -1
- package/docs/.island/dist/assets/style.2e5f7bc2.css +0 -1970
- package/docs/.island/dist/assets/sun.841dac10.svg +0 -11
- package/docs/.island/dist/assets/test-your-project.8ab2809e.js +0 -190
- package/docs/.island/dist/assets/test-your-project.9ae2a49e.js +0 -190
- package/docs/.island/dist/assets/test.2bfe276b.js +0 -66
- package/docs/.island/dist/assets/test.a2c00a3f.js +0 -67
- package/docs/.island/dist/assets/translator.b1077c44.svg +0 -1
- package/docs/.island/dist/assets/use-micro-generator.13c1a09f.js +0 -60
- package/docs/.island/dist/assets/use-micro-generator.dfe877f6.js +0 -60
- package/docs/.island/dist/assets/using-storybook.adb88cb8.js +0 -260
- package/docs/.island/dist/assets/using-storybook.b8e7dd04.js +0 -260
- package/docs/.island/dist/assets/welcome.94880043.js +0 -13
- package/docs/.island/dist/assets/welcome.b2140e7e.js +0 -13
- package/docs/.island/dist/assets/why-module-engineering-solution.bfe7981a.js +0 -26
- package/docs/.island/dist/assets/why-module-engineering-solution.e31cd19f.js +0 -26
- package/docs/.island/dist/chunk-COLCRJ2V.js +0 -1
- package/docs/.island/dist/chunk-K5FMOYDC.js +0 -10
- package/docs/.island/dist/chunk-WE42KMYS.js +0 -26
- package/docs/.island/dist/client-entry.js +0 -3
- package/docs/.island/dist/en/api/build-config.html +0 -344
- package/docs/.island/dist/en/api/build-preset.html +0 -82
- package/docs/.island/dist/en/api/design-system.html +0 -155
- package/docs/.island/dist/en/api/dev.html +0 -45
- package/docs/.island/dist/en/api/index.html +0 -41
- package/docs/.island/dist/en/api/plugin.html +0 -48
- package/docs/.island/dist/en/api/test.html +0 -58
- package/docs/.island/dist/en/guide/advance/asset.html +0 -68
- package/docs/.island/dist/en/guide/advance/build-umd.html +0 -72
- package/docs/.island/dist/en/guide/advance/copy.html +0 -82
- package/docs/.island/dist/en/guide/advance/extension.html +0 -41
- package/docs/.island/dist/en/guide/advance/external-dependency.html +0 -71
- package/docs/.island/dist/en/guide/advance/in-depth-about-build.html +0 -148
- package/docs/.island/dist/en/guide/advance/in-depth-about-dev-command.html +0 -51
- package/docs/.island/dist/en/guide/basic/before-getting-started.html +0 -127
- package/docs/.island/dist/en/guide/basic/command-preview.html +0 -100
- package/docs/.island/dist/en/guide/basic/modify-output-product.html +0 -140
- package/docs/.island/dist/en/guide/basic/publish-your-project.html +0 -91
- package/docs/.island/dist/en/guide/basic/test-your-project.html +0 -72
- package/docs/.island/dist/en/guide/basic/use-micro-generator.html +0 -65
- package/docs/.island/dist/en/guide/basic/using-storybook.html +0 -113
- package/docs/.island/dist/en/guide/intro/getting-started.html +0 -76
- package/docs/.island/dist/en/guide/intro/welcome.html +0 -53
- package/docs/.island/dist/en/guide/intro/why-module-engineering-solution.html +0 -49
- package/docs/.island/dist/en/index.html +0 -42
- package/docs/.island/dist/react-dom.js +0 -1
- package/docs/.island/dist/react-dom_client.js +0 -1
- package/docs/.island/dist/react.js +0 -1
- package/docs/.island/dist/react_jsx-runtime.js +0 -10
- package/docs/.island/dist/ssr-manifest.json +0 -57
- package/docs/.island/dist/test-result.png +0 -0
- package/docs/.island/dist/why-module-solution.png +0 -0
- package/docs/.island/dist/zh/api/build-config.html +0 -361
- package/docs/.island/dist/zh/api/build-preset.html +0 -82
- package/docs/.island/dist/zh/api/design-system.html +0 -149
- package/docs/.island/dist/zh/api/dev.html +0 -46
- package/docs/.island/dist/zh/api/index.html +0 -41
- package/docs/.island/dist/zh/api/plugin.html +0 -48
- package/docs/.island/dist/zh/api/test.html +0 -59
- package/docs/.island/dist/zh/guide/advance/asset.html +0 -68
- package/docs/.island/dist/zh/guide/advance/build-umd.html +0 -72
- package/docs/.island/dist/zh/guide/advance/copy.html +0 -82
- package/docs/.island/dist/zh/guide/advance/extension.html +0 -127
- package/docs/.island/dist/zh/guide/advance/external-dependency.html +0 -71
- package/docs/.island/dist/zh/guide/advance/in-depth-about-build.html +0 -148
- package/docs/.island/dist/zh/guide/advance/in-depth-about-dev-command.html +0 -53
- package/docs/.island/dist/zh/guide/basic/before-getting-started.html +0 -127
- package/docs/.island/dist/zh/guide/basic/command-preview.html +0 -100
- package/docs/.island/dist/zh/guide/basic/modify-output-product.html +0 -140
- package/docs/.island/dist/zh/guide/basic/publish-your-project.html +0 -92
- package/docs/.island/dist/zh/guide/basic/test-your-project.html +0 -72
- package/docs/.island/dist/zh/guide/basic/use-micro-generator.html +0 -65
- package/docs/.island/dist/zh/guide/basic/using-storybook.html +0 -114
- package/docs/.island/dist/zh/guide/intro/getting-started.html +0 -79
- package/docs/.island/dist/zh/guide/intro/welcome.html +0 -53
- package/docs/.island/dist/zh/guide/intro/why-module-engineering-solution.html +0 -49
- package/docs/.island/dist/zh/index.html +0 -42
|
@@ -1187,7 +1187,7 @@ const chCodeConfig = {
|
|
|
1187
1187
|
"autoImport": true,
|
|
1188
1188
|
"showCopyButton": true,
|
|
1189
1189
|
"skipLanguages": [],
|
|
1190
|
-
"filepath": "/Users/
|
|
1190
|
+
"filepath": "/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/build-umd.mdx"
|
|
1191
1191
|
};
|
|
1192
1192
|
const frontmatter = {
|
|
1193
1193
|
"sidebar_position": 5
|
|
@@ -1455,12 +1455,12 @@ function _createMdxContent(props) {
|
|
|
1455
1455
|
href: "/module-tools/en/guide/advance/external-dependency.html",
|
|
1456
1456
|
children: "[How to handle third-party dependencies]"
|
|
1457
1457
|
}), " chapter, we know that we can control whether or not the project packages third-party dependencies via the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1458
|
-
href: "/module-tools/en/api/config/build-config.html#autoexternal-
|
|
1458
|
+
href: "/module-tools/en/api/config/build-config.html#autoexternal-4",
|
|
1459
1459
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1460
1460
|
children: "autoExternals"
|
|
1461
1461
|
})
|
|
1462
1462
|
}), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1463
|
-
href: "/module-tools/en/api/config/build-config.html#externals-
|
|
1463
|
+
href: "/module-tools/en/api/config/build-config.html#externals-6",
|
|
1464
1464
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1465
1465
|
children: "externals"
|
|
1466
1466
|
})
|
|
@@ -9847,7 +9847,7 @@ function MDXContent(props = {}) {
|
|
|
9847
9847
|
}
|
|
9848
9848
|
/* harmony default export */ __webpack_exports__["default"] = (MDXContent);
|
|
9849
9849
|
function _missingMdxReference(id, component, place) {
|
|
9850
|
-
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/
|
|
9850
|
+
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/build-umd.mdx`" : ""));
|
|
9851
9851
|
}
|
|
9852
9852
|
|
|
9853
9853
|
|
|
@@ -1185,7 +1185,7 @@ const chCodeConfig = {
|
|
|
1185
1185
|
"autoImport": true,
|
|
1186
1186
|
"showCopyButton": true,
|
|
1187
1187
|
"skipLanguages": [],
|
|
1188
|
-
"filepath": "/Users/
|
|
1188
|
+
"filepath": "/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/copy.md"
|
|
1189
1189
|
};
|
|
1190
1190
|
const frontmatter = {
|
|
1191
1191
|
"sidebar_position": 3
|
|
@@ -1794,7 +1794,7 @@ function _createMdxContent(props) {
|
|
|
1794
1794
|
}), " 一般和 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1795
1795
|
children: "patterns.from"
|
|
1796
1796
|
}), " 配合使用,默认情况下它的值与 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1797
|
-
href: "/module-tools/en/api/config/build-config.html#sourcedir-
|
|
1797
|
+
href: "/module-tools/en/api/config/build-config.html#sourcedir-5",
|
|
1798
1798
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1799
1799
|
children: "buildConfig.sourceDir"
|
|
1800
1800
|
})
|
|
@@ -6531,7 +6531,7 @@ function MDXContent(props = {}) {
|
|
|
6531
6531
|
}
|
|
6532
6532
|
/* harmony default export */ __webpack_exports__["default"] = (MDXContent);
|
|
6533
6533
|
function _missingMdxReference(id, component, place) {
|
|
6534
|
-
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/
|
|
6534
|
+
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/copy.md`" : ""));
|
|
6535
6535
|
}
|
|
6536
6536
|
|
|
6537
6537
|
|
|
@@ -1187,7 +1187,7 @@ const chCodeConfig = {
|
|
|
1187
1187
|
"autoImport": true,
|
|
1188
1188
|
"showCopyButton": true,
|
|
1189
1189
|
"skipLanguages": [],
|
|
1190
|
-
"filepath": "/Users/
|
|
1190
|
+
"filepath": "/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/external-dependency.mdx"
|
|
1191
1191
|
};
|
|
1192
1192
|
const frontmatter = {
|
|
1193
1193
|
"sidebar_position": 4
|
|
@@ -2976,14 +2976,14 @@ function _createMdxContent(props) {
|
|
|
2976
2976
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
|
|
2977
2977
|
children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
|
|
2978
2978
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
2979
|
-
href: "/module-tools/en/api/config/build-config.html#autoexternal-
|
|
2979
|
+
href: "/module-tools/en/api/config/build-config.html#autoexternal-5",
|
|
2980
2980
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
2981
2981
|
children: "buildConfig.autoExternal"
|
|
2982
2982
|
})
|
|
2983
2983
|
})
|
|
2984
2984
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
|
|
2985
2985
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
2986
|
-
href: "/module-tools/en/api/config/build-config.html#externals-
|
|
2986
|
+
href: "/module-tools/en/api/config/build-config.html#externals-7",
|
|
2987
2987
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
2988
2988
|
children: "buildConfig.externals"
|
|
2989
2989
|
})
|
|
@@ -3796,7 +3796,7 @@ function MDXContent(props = {}) {
|
|
|
3796
3796
|
}
|
|
3797
3797
|
/* harmony default export */ __webpack_exports__["default"] = (MDXContent);
|
|
3798
3798
|
function _missingMdxReference(id, component, place) {
|
|
3799
|
-
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/
|
|
3799
|
+
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/external-dependency.mdx`" : ""));
|
|
3800
3800
|
}
|
|
3801
3801
|
|
|
3802
3802
|
|
|
@@ -1185,7 +1185,7 @@ const chCodeConfig = {
|
|
|
1185
1185
|
"autoImport": true,
|
|
1186
1186
|
"showCopyButton": true,
|
|
1187
1187
|
"skipLanguages": [],
|
|
1188
|
-
"filepath": "/Users/
|
|
1188
|
+
"filepath": "/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/in-depth-about-build.md"
|
|
1189
1189
|
};
|
|
1190
1190
|
const frontmatter = {
|
|
1191
1191
|
"sidebar_position": 1
|
|
@@ -1331,7 +1331,7 @@ function _createMdxContent(props) {
|
|
|
1331
1331
|
children: "So first let's understand Bundle and Bundleless."
|
|
1332
1332
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1333
1333
|
children: ["A Bundle is a package of build products, which may be a single file or multiple files based on a certain ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1334
|
-
href: "https://esbuild.github.io/api/#splitting-
|
|
1334
|
+
href: "https://esbuild.github.io/api/#splitting-3",
|
|
1335
1335
|
target: "_blank",
|
|
1336
1336
|
rel: "nofollow",
|
|
1337
1337
|
children: "code splitting strategy"
|
|
@@ -1864,7 +1864,7 @@ function _createMdxContent(props) {
|
|
|
1864
1864
|
})]
|
|
1865
1865
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1866
1866
|
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1867
|
-
href: "/module-tools/en/api/config/build-config.html#sourcedir-
|
|
1867
|
+
href: "/module-tools/en/api/config/build-config.html#sourcedir-4",
|
|
1868
1868
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1869
1869
|
children: "sourceDir"
|
|
1870
1870
|
})
|
|
@@ -2246,7 +2246,7 @@ function _createMdxContent(props) {
|
|
|
2246
2246
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
|
|
2247
2247
|
children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
2248
2248
|
children: ["Some third-party dependencies have incorrect syntax that can cause the packaging process to fail. So in this case, you need to exclude such third-party packages manually with ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
2249
|
-
href: "/module-tools/en/api/config/build-config.html#externals-
|
|
2249
|
+
href: "/module-tools/en/api/config/build-config.html#externals-5",
|
|
2250
2250
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
2251
2251
|
children: "buildConfig.externals"
|
|
2252
2252
|
})
|
|
@@ -5294,7 +5294,7 @@ function MDXContent(props = {}) {
|
|
|
5294
5294
|
}
|
|
5295
5295
|
/* harmony default export */ __webpack_exports__["default"] = (MDXContent);
|
|
5296
5296
|
function _missingMdxReference(id, component, place) {
|
|
5297
|
-
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/
|
|
5297
|
+
throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/advance/in-depth-about-build.md`" : ""));
|
|
5298
5298
|
}
|
|
5299
5299
|
|
|
5300
5300
|
|