@modern-js/module-tools-docs 2.0.2 → 2.2.0-beta.0
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/html/main/index.html +1 -1
- package/doc_build/static/css/main.css +267 -660
- package/doc_build/static/css/main.css.map +1 -1
- package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +6 -23
- package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +1 -1
- package/doc_build/static/js/async/en_api_config_build-config.js +79 -36
- package/doc_build/static/js/async/en_api_config_build-config.js.map +1 -1
- package/doc_build/static/js/async/en_api_config_build-preset.js +40 -20
- package/doc_build/static/js/async/en_api_config_build-preset.js.map +1 -1
- package/doc_build/static/js/async/en_api_config_design-system.js +33800 -2340
- package/doc_build/static/js/async/en_api_config_design-system.js.map +1 -1
- package/doc_build/static/js/async/en_api_config_plugins.js +15 -19
- package/doc_build/static/js/async/en_api_config_testing.js +26 -24
- package/doc_build/static/js/async/en_api_config_testing.js.map +1 -1
- package/doc_build/static/js/async/{en_api_.js → en_api_index.js} +10 -14
- package/doc_build/static/js/async/en_api_index.js.map +1 -0
- package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +24 -26
- package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +1 -1
- package/doc_build/static/js/async/en_guide_advance_asset.js +16 -41
- package/doc_build/static/js/async/en_guide_advance_asset.js.map +1 -1
- package/doc_build/static/js/async/en_guide_advance_build-umd.js +20 -24
- package/doc_build/static/js/async/en_guide_advance_copy.js +25 -23
- package/doc_build/static/js/async/en_guide_advance_copy.js.map +1 -1
- package/doc_build/static/js/async/en_guide_advance_external-dependency.js +15 -19
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +352 -94
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +1 -1
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +11 -15
- 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 +26 -24
- package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +275 -88
- 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 +45 -33
- package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +274 -196
- 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 +18 -20
- package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_test-your-project.js +27 -32
- package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +1 -1
- package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +33 -15
- 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 +24 -63
- package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +1 -1
- package/doc_build/static/js/async/en_guide_best-practices_components.js +39 -27
- package/doc_build/static/js/async/en_guide_best-practices_components.js.map +1 -1
- package/doc_build/static/js/async/en_guide_intro_getting-started.js +288 -45
- package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -1
- package/doc_build/static/js/async/en_guide_intro_welcome.js +27 -13
- package/doc_build/static/js/async/en_guide_intro_welcome.js.map +1 -1
- package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +16 -12
- package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +1 -1
- package/doc_build/static/js/async/{en_.js → en_index.js} +12 -16
- package/doc_build/static/js/async/en_index.js.map +1 -0
- package/doc_build/static/js/async/en_plugins_guide_getting-started.js +17 -21
- package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +20 -24
- package/doc_build/static/js/async/en_plugins_guide_setup-function.js +19 -23
- package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +1 -1
- package/doc_build/static/js/async/en_plugins_official-list_overview.js +8 -12
- package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +166 -367
- package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +1 -1
- package/doc_build/static/js/async/{api_config_build-config.js → zh_api_config_build-config.js} +80 -35
- package/doc_build/static/js/async/{api_config_build-config.js.map → zh_api_config_build-config.js.map} +1 -1
- package/doc_build/static/js/async/{api_config_build-preset.js → zh_api_config_build-preset.js} +39 -21
- package/doc_build/static/js/async/{api_config_build-preset.js.map → zh_api_config_build-preset.js.map} +1 -1
- package/doc_build/static/js/async/{api_config_design-system.js → zh_api_config_design-system.js} +27 -23
- package/doc_build/static/js/async/{api_config_design-system.js.map → zh_api_config_design-system.js.map} +1 -1
- package/doc_build/static/js/async/{api_config_plugins.js → zh_api_config_plugins.js} +17 -21
- package/doc_build/static/js/async/{api_config_plugins.js.map → zh_api_config_plugins.js.map} +1 -1
- package/doc_build/static/js/async/{api_config_testing.js → zh_api_config_testing.js} +28 -26
- package/doc_build/static/js/async/{api_config_testing.js.map → zh_api_config_testing.js.map} +1 -1
- package/doc_build/static/js/async/{api_.js → zh_api_index.js} +10 -14
- package/doc_build/static/js/async/zh_api_index.js.map +1 -0
- package/doc_build/static/js/async/{api_plugin-api_plugin-hooks.js → zh_api_plugin-api_plugin-hooks.js} +25 -27
- package/doc_build/static/js/async/{api_plugin-api_plugin-hooks.js.map → zh_api_plugin-api_plugin-hooks.js.map} +1 -1
- package/doc_build/static/js/async/{guide_advance_asset.js → zh_guide_advance_asset.js} +18 -43
- package/doc_build/static/js/async/{guide_advance_asset.js.map → zh_guide_advance_asset.js.map} +1 -1
- package/doc_build/static/js/async/{guide_advance_build-umd.js → zh_guide_advance_build-umd.js} +22 -26
- package/doc_build/static/js/async/{guide_advance_build-umd.js.map → zh_guide_advance_build-umd.js.map} +1 -1
- package/doc_build/static/js/async/{guide_advance_copy.js → zh_guide_advance_copy.js} +26 -24
- package/doc_build/static/js/async/{guide_advance_copy.js.map → zh_guide_advance_copy.js.map} +1 -1
- package/doc_build/static/js/async/{guide_advance_external-dependency.js → zh_guide_advance_external-dependency.js} +17 -21
- package/doc_build/static/js/async/{guide_advance_external-dependency.js.map → zh_guide_advance_external-dependency.js.map} +1 -1
- package/doc_build/static/js/async/{guide_advance_in-depth-about-build.js → zh_guide_advance_in-depth-about-build.js} +353 -95
- package/doc_build/static/js/async/{guide_advance_in-depth-about-build.js.map → zh_guide_advance_in-depth-about-build.js.map} +1 -1
- package/doc_build/static/js/async/{guide_advance_in-depth-about-dev-command.js → zh_guide_advance_in-depth-about-dev-command.js} +16 -18
- package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js.map +1 -0
- package/doc_build/static/js/async/{guide_advance_theme-config.js → zh_guide_advance_theme-config.js} +24 -22
- package/doc_build/static/js/async/{guide_advance_theme-config.js.map → zh_guide_advance_theme-config.js.map} +1 -1
- package/doc_build/static/js/async/{guide_basic_before-getting-started.js → zh_guide_basic_before-getting-started.js} +272 -85
- package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js.map +1 -0
- package/doc_build/static/js/async/{guide_basic_command-preview.js → zh_guide_basic_command-preview.js} +47 -35
- package/doc_build/static/js/async/zh_guide_basic_command-preview.js.map +1 -0
- package/doc_build/static/js/async/{guide_basic_modify-output-product.js → zh_guide_basic_modify-output-product.js} +203 -88
- package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js.map +1 -0
- package/doc_build/static/js/async/{guide_basic_publish-your-project.js → zh_guide_basic_publish-your-project.js} +20 -22
- package/doc_build/static/js/async/{guide_basic_publish-your-project.js.map → zh_guide_basic_publish-your-project.js.map} +1 -1
- package/doc_build/static/js/async/{guide_basic_test-your-project.js → zh_guide_basic_test-your-project.js} +30 -35
- package/doc_build/static/js/async/{guide_basic_test-your-project.js.map → zh_guide_basic_test-your-project.js.map} +1 -1
- package/doc_build/static/js/async/{guide_basic_use-micro-generator.js → zh_guide_basic_use-micro-generator.js} +40 -20
- package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js.map +1 -0
- package/doc_build/static/js/async/{guide_basic_using-storybook.js → zh_guide_basic_using-storybook.js} +78 -171
- package/doc_build/static/js/async/{guide_basic_using-storybook.js.map → zh_guide_basic_using-storybook.js.map} +1 -1
- package/doc_build/static/js/async/{guide_best-practices_components.js → zh_guide_best-practices_components.js} +41 -29
- package/doc_build/static/js/async/{guide_best-practices_components.js.map → zh_guide_best-practices_components.js.map} +1 -1
- package/doc_build/static/js/async/{guide_intro_getting-started.js → zh_guide_intro_getting-started.js} +291 -42
- package/doc_build/static/js/async/{guide_intro_getting-started.js.map → zh_guide_intro_getting-started.js.map} +1 -1
- package/doc_build/static/js/async/{guide_intro_welcome.js → zh_guide_intro_welcome.js} +28 -14
- package/doc_build/static/js/async/zh_guide_intro_welcome.js.map +1 -0
- package/doc_build/static/js/async/{guide_intro_why-module-engineering-solution.js → zh_guide_intro_why-module-engineering-solution.js} +18 -14
- package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.js.map +1 -0
- package/doc_build/static/js/async/{index.js → zh_index.js} +11 -15
- package/doc_build/static/js/async/zh_index.js.map +1 -0
- package/doc_build/static/js/async/{plugins_guide_getting-started.js → zh_plugins_guide_getting-started.js} +19 -23
- package/doc_build/static/js/async/{plugins_guide_getting-started.js.map → zh_plugins_guide_getting-started.js.map} +1 -1
- package/doc_build/static/js/async/{plugins_guide_plugin-object.js → zh_plugins_guide_plugin-object.js} +22 -26
- package/doc_build/static/js/async/{plugins_guide_plugin-object.js.map → zh_plugins_guide_plugin-object.js.map} +1 -1
- package/doc_build/static/js/async/{plugins_guide_setup-function.js → zh_plugins_guide_setup-function.js} +21 -25
- package/doc_build/static/js/async/{plugins_guide_setup-function.js.map → zh_plugins_guide_setup-function.js.map} +1 -1
- package/doc_build/static/js/async/{plugins_official-list_overview.js → zh_plugins_official-list_overview.js} +10 -14
- package/doc_build/static/js/async/zh_plugins_official-list_overview.js.map +1 -0
- 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/lib-polyfill.js +3433 -16355
- package/doc_build/static/js/lib-polyfill.js.map +1 -1
- package/doc_build/static/js/main.js +2073 -2700
- 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 +485 -1689
- 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 -0
- package/docs/.island/dist/404.html +41 -0
- package/docs/.island/dist/assets/asset.26aea654.js +160 -0
- package/docs/.island/dist/assets/asset.36e3d3c9.js +160 -0
- package/docs/.island/dist/assets/before-getting-started.0e863740.js +87 -0
- package/docs/.island/dist/assets/before-getting-started.2c6e6b8a.js +87 -0
- package/docs/.island/dist/assets/build-config.460d11d9.js +804 -0
- package/docs/.island/dist/assets/build-config.e155e534.js +854 -0
- package/docs/.island/dist/assets/build-preset.6c2c6c62.js +256 -0
- package/docs/.island/dist/assets/build-preset.d3da921d.js +256 -0
- package/docs/.island/dist/assets/build-umd.ba00f028.js +264 -0
- package/docs/.island/dist/assets/build-umd.edb9d163.js +273 -0
- package/docs/.island/dist/assets/command-preview.1dc93921.js +264 -0
- package/docs/.island/dist/assets/command-preview.ef7a9d01.js +264 -0
- package/docs/.island/dist/assets/components.esm.03560353.js +9 -0
- package/docs/.island/dist/assets/copy.28dc4d5f.js +277 -0
- package/docs/.island/dist/assets/copy.f4625565.js +277 -0
- package/docs/.island/dist/assets/design-system.8993234c.js +1254 -0
- package/docs/.island/dist/assets/design-system.b0ba163f.js +639 -0
- package/docs/.island/dist/assets/dev.b373b152.js +37 -0
- package/docs/.island/dist/assets/dev.b39fd42a.js +37 -0
- package/docs/.island/dist/assets/down.f35427d3.svg +1 -0
- package/docs/.island/dist/assets/extension.4bf3526b.js +1 -0
- package/docs/.island/dist/assets/extension.d64ed0b8.js +469 -0
- package/docs/.island/dist/assets/external-dependency.2ede7532.js +156 -0
- package/docs/.island/dist/assets/external-dependency.92ca89e0.js +156 -0
- package/docs/.island/dist/assets/getting-started.822cf0b2.js +117 -0
- package/docs/.island/dist/assets/getting-started.e2764829.js +114 -0
- package/docs/.island/dist/assets/github.3bf8ccee.svg +1 -0
- package/docs/.island/dist/assets/in-depth-about-build.94cc902d.js +375 -0
- package/docs/.island/dist/assets/in-depth-about-build.aa74de10.js +374 -0
- package/docs/.island/dist/assets/in-depth-about-dev-command.877bdb83.js +33 -0
- package/docs/.island/dist/assets/in-depth-about-dev-command.9736befd.js +39 -0
- package/docs/.island/dist/assets/index.01786ba7.js +30 -0
- package/docs/.island/dist/assets/index.6cef6f5f.js +4 -0
- package/docs/.island/dist/assets/index.cb118238.js +36 -0
- package/docs/.island/dist/assets/index.ccb6ce27.js +4 -0
- package/docs/.island/dist/assets/island_inject.69495876.js +1 -0
- package/docs/.island/dist/assets/island_inject.cdfb22d9.js +1 -0
- package/docs/.island/dist/assets/loading.8c9bb911.svg +1 -0
- package/docs/.island/dist/assets/modify-output-product.9e2394d7.js +100 -0
- package/docs/.island/dist/assets/modify-output-product.f363845a.js +100 -0
- package/docs/.island/dist/assets/moon.6b705924.svg +3 -0
- package/docs/.island/dist/assets/plugin.70a61997.js +42 -0
- package/docs/.island/dist/assets/plugin.80b12ee2.js +42 -0
- package/docs/.island/dist/assets/publish-your-project.7321c10e.js +164 -0
- package/docs/.island/dist/assets/publish-your-project.7326359f.js +166 -0
- package/docs/.island/dist/assets/right.89674cd7.svg +1 -0
- package/docs/.island/dist/assets/search.0aea6901.svg +1 -0
- package/docs/.island/dist/assets/search.11353245.js +222 -0
- package/docs/.island/dist/assets/search.a1b1cff3.js +3 -0
- package/docs/.island/dist/assets/search.f9025ced.js +3 -0
- package/docs/.island/dist/assets/style.09015a4b.css +1 -0
- package/docs/.island/dist/assets/style.2e5f7bc2.css +1970 -0
- package/docs/.island/dist/assets/sun.841dac10.svg +11 -0
- package/docs/.island/dist/assets/test-your-project.8ab2809e.js +190 -0
- package/docs/.island/dist/assets/test-your-project.9ae2a49e.js +190 -0
- package/docs/.island/dist/assets/test.2bfe276b.js +66 -0
- package/docs/.island/dist/assets/test.a2c00a3f.js +67 -0
- package/docs/.island/dist/assets/translator.b1077c44.svg +1 -0
- package/docs/.island/dist/assets/use-micro-generator.13c1a09f.js +60 -0
- package/docs/.island/dist/assets/use-micro-generator.dfe877f6.js +60 -0
- package/docs/.island/dist/assets/using-storybook.adb88cb8.js +260 -0
- package/docs/.island/dist/assets/using-storybook.b8e7dd04.js +260 -0
- package/docs/.island/dist/assets/welcome.94880043.js +13 -0
- package/docs/.island/dist/assets/welcome.b2140e7e.js +13 -0
- package/docs/.island/dist/assets/why-module-engineering-solution.bfe7981a.js +26 -0
- package/docs/.island/dist/assets/why-module-engineering-solution.e31cd19f.js +26 -0
- package/docs/.island/dist/chunk-COLCRJ2V.js +1 -0
- package/docs/.island/dist/chunk-K5FMOYDC.js +10 -0
- package/docs/.island/dist/chunk-WE42KMYS.js +26 -0
- package/docs/.island/dist/client-entry.js +3 -0
- package/docs/.island/dist/en/api/build-config.html +344 -0
- package/docs/.island/dist/en/api/build-preset.html +82 -0
- package/docs/.island/dist/en/api/design-system.html +155 -0
- package/docs/.island/dist/en/api/dev.html +45 -0
- package/docs/.island/dist/en/api/index.html +41 -0
- package/docs/.island/dist/en/api/plugin.html +48 -0
- package/docs/.island/dist/en/api/test.html +58 -0
- package/docs/.island/dist/en/guide/advance/asset.html +68 -0
- package/docs/.island/dist/en/guide/advance/build-umd.html +72 -0
- package/docs/.island/dist/en/guide/advance/copy.html +82 -0
- package/docs/.island/dist/en/guide/advance/extension.html +41 -0
- package/docs/.island/dist/en/guide/advance/external-dependency.html +71 -0
- package/docs/.island/dist/en/guide/advance/in-depth-about-build.html +148 -0
- package/docs/.island/dist/en/guide/advance/in-depth-about-dev-command.html +51 -0
- package/docs/.island/dist/en/guide/basic/before-getting-started.html +127 -0
- package/docs/.island/dist/en/guide/basic/command-preview.html +100 -0
- package/docs/.island/dist/en/guide/basic/modify-output-product.html +140 -0
- package/docs/.island/dist/en/guide/basic/publish-your-project.html +91 -0
- package/docs/.island/dist/en/guide/basic/test-your-project.html +72 -0
- package/docs/.island/dist/en/guide/basic/use-micro-generator.html +65 -0
- package/docs/.island/dist/en/guide/basic/using-storybook.html +113 -0
- package/docs/.island/dist/en/guide/intro/getting-started.html +76 -0
- package/docs/.island/dist/en/guide/intro/welcome.html +53 -0
- package/docs/.island/dist/en/guide/intro/why-module-engineering-solution.html +49 -0
- package/docs/.island/dist/en/index.html +42 -0
- package/docs/.island/dist/react-dom.js +1 -0
- package/docs/.island/dist/react-dom_client.js +1 -0
- package/docs/.island/dist/react.js +1 -0
- package/docs/.island/dist/react_jsx-runtime.js +10 -0
- package/docs/.island/dist/ssr-manifest.json +57 -0
- 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 +361 -0
- package/docs/.island/dist/zh/api/build-preset.html +82 -0
- package/docs/.island/dist/zh/api/design-system.html +149 -0
- package/docs/.island/dist/zh/api/dev.html +46 -0
- package/docs/.island/dist/zh/api/index.html +41 -0
- package/docs/.island/dist/zh/api/plugin.html +48 -0
- package/docs/.island/dist/zh/api/test.html +59 -0
- package/docs/.island/dist/zh/guide/advance/asset.html +68 -0
- package/docs/.island/dist/zh/guide/advance/build-umd.html +72 -0
- package/docs/.island/dist/zh/guide/advance/copy.html +82 -0
- package/docs/.island/dist/zh/guide/advance/extension.html +127 -0
- package/docs/.island/dist/zh/guide/advance/external-dependency.html +71 -0
- package/docs/.island/dist/zh/guide/advance/in-depth-about-build.html +148 -0
- package/docs/.island/dist/zh/guide/advance/in-depth-about-dev-command.html +53 -0
- package/docs/.island/dist/zh/guide/basic/before-getting-started.html +127 -0
- package/docs/.island/dist/zh/guide/basic/command-preview.html +100 -0
- package/docs/.island/dist/zh/guide/basic/modify-output-product.html +140 -0
- package/docs/.island/dist/zh/guide/basic/publish-your-project.html +92 -0
- package/docs/.island/dist/zh/guide/basic/test-your-project.html +72 -0
- package/docs/.island/dist/zh/guide/basic/use-micro-generator.html +65 -0
- package/docs/.island/dist/zh/guide/basic/using-storybook.html +114 -0
- package/docs/.island/dist/zh/guide/intro/getting-started.html +79 -0
- package/docs/.island/dist/zh/guide/intro/welcome.html +53 -0
- package/docs/.island/dist/zh/guide/intro/why-module-engineering-solution.html +49 -0
- package/docs/.island/dist/zh/index.html +42 -0
- package/docs/en/api/config/build-config.md +15 -5
- package/docs/en/api/config/build-preset.md +3 -2
- package/docs/en/api/config/design-system.md +623 -615
- package/docs/en/api/config/plugins.md +2 -2
- package/docs/en/api/config/testing.md +2 -1
- package/docs/en/guide/advance/asset.mdx +0 -4
- package/docs/en/guide/advance/build-umd.mdx +3 -3
- package/docs/en/guide/advance/in-depth-about-build.md +14 -13
- package/docs/en/guide/advance/in-depth-about-dev-command.md +2 -1
- package/docs/en/guide/basic/before-getting-started.md +16 -9
- package/docs/en/guide/basic/command-preview.md +2 -2
- package/docs/en/guide/basic/modify-output-product.md +65 -69
- package/docs/en/guide/basic/test-your-project.mdx +1 -3
- package/docs/en/guide/basic/use-micro-generator.md +4 -0
- package/docs/en/guide/basic/using-storybook.mdx +1 -13
- package/docs/en/guide/intro/getting-started.md +16 -7
- package/docs/en/plugins/guide/getting-started.mdx +2 -2
- package/docs/en/plugins/guide/plugin-object.mdx +5 -5
- package/docs/zh/api/config/build-config.md +18 -6
- package/docs/zh/api/config/build-preset.md +3 -2
- package/docs/zh/api/config/design-system.md +2 -2
- package/docs/zh/api/config/plugins.md +2 -2
- package/docs/zh/api/config/testing.md +3 -2
- package/docs/zh/guide/advance/asset.mdx +0 -5
- package/docs/zh/guide/advance/build-umd.mdx +3 -3
- package/docs/zh/guide/advance/in-depth-about-build.md +14 -13
- package/docs/zh/guide/advance/in-depth-about-dev-command.md +2 -1
- package/docs/zh/guide/basic/before-getting-started.md +15 -8
- package/docs/zh/guide/basic/command-preview.md +2 -2
- package/docs/zh/guide/basic/modify-output-product.md +17 -19
- package/docs/zh/guide/basic/test-your-project.mdx +1 -3
- package/docs/zh/guide/basic/use-micro-generator.md +5 -1
- package/docs/zh/guide/basic/using-storybook.mdx +9 -19
- package/docs/zh/guide/intro/getting-started.md +17 -11
- package/docs/zh/plugins/guide/getting-started.mdx +2 -2
- package/docs/zh/plugins/guide/plugin-object.mdx +5 -5
- package/modern.config.ts +11 -5
- package/package.json +4 -4
- package/doc_build/static/js/async/api_.js.map +0 -1
- package/doc_build/static/js/async/en_.js.map +0 -1
- package/doc_build/static/js/async/en_api_.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_before-getting-started.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_command-preview.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_modify-output-product.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_use-micro-generator.js.map +0 -1
- package/doc_build/static/js/async/guide_intro_welcome.js.map +0 -1
- package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js.map +0 -1
- package/doc_build/static/js/async/index.js.map +0 -1
- package/doc_build/static/js/async/plugins_official-list_overview.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["
|
|
2
|
+
(self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["zh_guide_intro_getting-started"],{
|
|
3
3
|
|
|
4
4
|
/***/ "./docs/zh/guide/intro/getting-started.md":
|
|
5
5
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
@@ -18,11 +18,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18
18
|
/*@jsxRuntime automatic @jsxImportSource react*/
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
const CH = {
|
|
22
22
|
annotations: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.annotations,
|
|
23
23
|
Code: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Code
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
const chCodeConfig = {
|
|
26
26
|
"staticMediaQuery": "not screen, (max-width: 768px)",
|
|
27
27
|
"theme": {
|
|
28
28
|
"name": "nord",
|
|
@@ -1185,12 +1185,12 @@ var chCodeConfig = {
|
|
|
1185
1185
|
"autoImport": true,
|
|
1186
1186
|
"showCopyButton": true,
|
|
1187
1187
|
"skipLanguages": [],
|
|
1188
|
-
"filepath": "/Users/
|
|
1188
|
+
"filepath": "/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/getting-started.md"
|
|
1189
1189
|
};
|
|
1190
|
-
|
|
1190
|
+
const frontmatter = {
|
|
1191
1191
|
"sidebar_position": 3
|
|
1192
1192
|
};
|
|
1193
|
-
|
|
1193
|
+
const toc = [{
|
|
1194
1194
|
"id": "三分钟快速上手",
|
|
1195
1195
|
"text": "三分钟快速上手",
|
|
1196
1196
|
"depth": 2
|
|
@@ -1199,10 +1199,10 @@ var toc = [{
|
|
|
1199
1199
|
"text": "让我们开始吧",
|
|
1200
1200
|
"depth": 2
|
|
1201
1201
|
}];
|
|
1202
|
-
|
|
1203
|
-
|
|
1202
|
+
const title = `快速开始`;
|
|
1203
|
+
const content = "\"---\\nsidebar_position: 3\\n---\\n\\n# 快速开始\\n\\n## 三分钟快速上手\\n\\n想要实际体验 Module Tools?首先需要安装 [Node.js LTS](https://github.com/nodejs/Release),并确保 Node 版本大于等于 **14.18.0**。我们推荐使用 Node.js 16 的 LTS 版本。\\n\\n然后在你的项目里安装以下依赖:\\n\\n- `\\\"@modern-js/module-tools\\\"`\\n- `\\\"typescript\\\"`(如果不是 TypeScript 项目,则省略)\\n\\n```bash\\nnpm install -D @modern-js/module-tools typescript\\n```\\n\\n> 对于使用 pnpm 或者 Yarn 包管理器的项目,只需要替换 npm 就可以了。**推荐使用 pnpm**。\\n\\n接着在项目的根目录下创建 `modern.config.(t|j)s` 文件:\\n\\n``` ts\\nimport moduleTools, { defineConfig } from '@modern-js/module-tools';\\n\\nexport default defineConfig({\\n plugins: [moduleTools()],\\n})\\n```\\n\\n最后在项目的 `package.json` 文件里增加命令 `\\\"build\\\": \\\"modern build\\\"`:\\n\\n```json\\n{\\n \\\"scripts\\\": {\\n \\\"build\\\": \\\"modern build\\\"\\n }\\n}\\n```\\n\\n如果你的项目存在 `src/index.(js|jsx)` 文件或者同时存在 `src/index.(ts|tsx)` 和 `tsconfig.json` 文件,那么恭喜你可以运行直接运行 `npm run build` 来使用 Module Tools 构建你的项目了。\\n\\n**如果你想要看看使用了模块工程方案的完整项目,可以执行以下命令**:\\n\\n```bash\\ngit clone https://github.com/modern-js-dev/module-tools-examples\\ncd module-tools-example/base\\n\\n## 执行构建:\\npnpm build\\n\\n## 监听模式执行构建:\\npnpm build --watch\\n\\n## 启动 Storybook\\npnpm dev storybook\\n\\n## 测试\\npnpm test\\n```\\n\\n**如果你想要创建一个完整的模块工程项目,可以执行以下命令:**\\n\\n```bash\\nnpx @modern-js/create your-project-dir-name\\n```\\n\\n接着在问题交互中,按照如下选择:\\n\\n```bash\\n? 请选择你想创建的工程类型 模块\\n? 请填写项目名称 library\\n? 请选择开发语言 TS\\n? 请选择包管理工具 pnpm\\n```\\n\\n> 项目名称为 `package.json` 中的 `\\\"name\\\"` 字段值。\\n\\n接着就会开始初始化项目的流程。在项目目录和文件生成以及依赖安装完毕后,此时就创建了一个完整的模块工程项目。\\n\\n我们可以直接执行 `pnpm build` 命令启动项目的构建,执行 `pnpm build --watch` 命令开启构建的观察模式。\\n\\n## 让我们开始吧\\n\\n选择适合你的教程:\\n\\n- 我是初学者,需要学习 Module Tools 的[基础使用](/guide/basic/before-getting-started)。\\n- 我已经初步掌握了 Module Tools 的使用,可以学习 Module Tools 的[高级使用](/guide/basic/before-getting-started)。\\n- 我是项目的维护者,需要学习如何开发 Module Tools 的插件以及了解更多关于 Module Tools 进阶的内容。\\n\"";
|
|
1204
1204
|
function _createMdxContent(props) {
|
|
1205
|
-
|
|
1205
|
+
const _components = Object.assign({
|
|
1206
1206
|
h1: "h1",
|
|
1207
1207
|
a: "a",
|
|
1208
1208
|
h2: "h2",
|
|
@@ -1213,8 +1213,8 @@ function _createMdxContent(props) {
|
|
|
1213
1213
|
code: "code",
|
|
1214
1214
|
blockquote: "blockquote"
|
|
1215
1215
|
}, props.components);
|
|
1216
|
-
if (!CH) _missingMdxReference("CH", false, "
|
|
1217
|
-
if (!CH.Code) _missingMdxReference("CH.Code", true, "
|
|
1216
|
+
if (!CH) _missingMdxReference("CH", false, "16:1-18:4");
|
|
1217
|
+
if (!CH.Code) _missingMdxReference("CH.Code", true, "16:1-18:4");
|
|
1218
1218
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
|
|
1219
1219
|
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
|
|
1220
1220
|
id: "快速开始",
|
|
@@ -1235,27 +1235,23 @@ function _createMdxContent(props) {
|
|
|
1235
1235
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1236
1236
|
children: ["想要实际体验 Module Tools?首先需要安装 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1237
1237
|
href: "https://github.com/nodejs/Release",
|
|
1238
|
+
target: "_blank",
|
|
1239
|
+
rel: "nofollow",
|
|
1238
1240
|
children: "Node.js LTS"
|
|
1239
1241
|
}), ",并确保 Node 版本大于等于 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
|
|
1240
|
-
children: "14.
|
|
1241
|
-
}), "
|
|
1242
|
+
children: "14.18.0"
|
|
1243
|
+
}), "。我们推荐使用 Node.js 16 的 LTS 版本。"]
|
|
1242
1244
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
|
|
1243
1245
|
children: "然后在你的项目里安装以下依赖:"
|
|
1244
1246
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
|
|
1245
1247
|
children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
|
|
1246
1248
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1247
|
-
children: "@modern-js/module-tools"
|
|
1249
|
+
children: "\"@modern-js/module-tools\""
|
|
1248
1250
|
})
|
|
1249
|
-
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.
|
|
1250
|
-
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1251
|
-
children: "@modern-js/plugin-testing"
|
|
1252
|
-
})
|
|
1253
|
-
}), "\n"]
|
|
1254
|
-
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.blockquote, {
|
|
1255
|
-
children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1256
|
-
children: ["如果是一个 TypeScript 项目,则需要增加 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1251
|
+
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
1252
|
+
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1257
1253
|
children: "\"typescript\""
|
|
1258
|
-
}), "
|
|
1254
|
+
}), "(如果不是 TypeScript 项目,则省略)"]
|
|
1259
1255
|
}), "\n"]
|
|
1260
1256
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
|
|
1261
1257
|
codeConfig: chCodeConfig,
|
|
@@ -1270,7 +1266,7 @@ function _createMdxContent(props) {
|
|
|
1270
1266
|
"code": {
|
|
1271
1267
|
"lines": [{
|
|
1272
1268
|
"tokens": [{
|
|
1273
|
-
"content": "npm install -D @modern-js/module-tools
|
|
1269
|
+
"content": "npm install -D @modern-js/module-tools typescript",
|
|
1274
1270
|
"props": {
|
|
1275
1271
|
"style": {
|
|
1276
1272
|
"color": "#D8DEE9FF"
|
|
@@ -1289,7 +1285,268 @@ function _createMdxContent(props) {
|
|
|
1289
1285
|
}), "。"]
|
|
1290
1286
|
}), "\n"]
|
|
1291
1287
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1292
|
-
children: ["
|
|
1288
|
+
children: ["接着在项目的根目录下创建 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1289
|
+
children: "modern.config.(t|j)s"
|
|
1290
|
+
}), " 文件:"]
|
|
1291
|
+
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
|
|
1292
|
+
codeConfig: chCodeConfig,
|
|
1293
|
+
northPanel: {
|
|
1294
|
+
"tabs": [""],
|
|
1295
|
+
"active": "",
|
|
1296
|
+
"heightRatio": 1
|
|
1297
|
+
},
|
|
1298
|
+
files: [{
|
|
1299
|
+
"name": "",
|
|
1300
|
+
"focus": "",
|
|
1301
|
+
"code": {
|
|
1302
|
+
"lines": [{
|
|
1303
|
+
"tokens": [{
|
|
1304
|
+
"content": "import",
|
|
1305
|
+
"props": {
|
|
1306
|
+
"style": {
|
|
1307
|
+
"color": "#81A1C1"
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}, {
|
|
1311
|
+
"content": " ",
|
|
1312
|
+
"props": {
|
|
1313
|
+
"style": {
|
|
1314
|
+
"color": "#D8DEE9FF"
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
}, {
|
|
1318
|
+
"content": "moduleTools",
|
|
1319
|
+
"props": {
|
|
1320
|
+
"style": {
|
|
1321
|
+
"color": "#D8DEE9"
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
}, {
|
|
1325
|
+
"content": ",",
|
|
1326
|
+
"props": {
|
|
1327
|
+
"style": {
|
|
1328
|
+
"color": "#ECEFF4"
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}, {
|
|
1332
|
+
"content": " ",
|
|
1333
|
+
"props": {
|
|
1334
|
+
"style": {
|
|
1335
|
+
"color": "#D8DEE9FF"
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
}, {
|
|
1339
|
+
"content": "{",
|
|
1340
|
+
"props": {
|
|
1341
|
+
"style": {
|
|
1342
|
+
"color": "#ECEFF4"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
}, {
|
|
1346
|
+
"content": " ",
|
|
1347
|
+
"props": {
|
|
1348
|
+
"style": {
|
|
1349
|
+
"color": "#D8DEE9FF"
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
}, {
|
|
1353
|
+
"content": "defineConfig",
|
|
1354
|
+
"props": {
|
|
1355
|
+
"style": {
|
|
1356
|
+
"color": "#D8DEE9"
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
}, {
|
|
1360
|
+
"content": " ",
|
|
1361
|
+
"props": {
|
|
1362
|
+
"style": {
|
|
1363
|
+
"color": "#D8DEE9FF"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}, {
|
|
1367
|
+
"content": "}",
|
|
1368
|
+
"props": {
|
|
1369
|
+
"style": {
|
|
1370
|
+
"color": "#ECEFF4"
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
}, {
|
|
1374
|
+
"content": " ",
|
|
1375
|
+
"props": {
|
|
1376
|
+
"style": {
|
|
1377
|
+
"color": "#D8DEE9FF"
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
}, {
|
|
1381
|
+
"content": "from",
|
|
1382
|
+
"props": {
|
|
1383
|
+
"style": {
|
|
1384
|
+
"color": "#81A1C1"
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
}, {
|
|
1388
|
+
"content": " ",
|
|
1389
|
+
"props": {
|
|
1390
|
+
"style": {
|
|
1391
|
+
"color": "#D8DEE9FF"
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
}, {
|
|
1395
|
+
"content": "'",
|
|
1396
|
+
"props": {
|
|
1397
|
+
"style": {
|
|
1398
|
+
"color": "#ECEFF4"
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
}, {
|
|
1402
|
+
"content": "@modern-js/module-tools",
|
|
1403
|
+
"props": {
|
|
1404
|
+
"style": {
|
|
1405
|
+
"color": "#A3BE8C"
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
}, {
|
|
1409
|
+
"content": "'",
|
|
1410
|
+
"props": {
|
|
1411
|
+
"style": {
|
|
1412
|
+
"color": "#ECEFF4"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
}, {
|
|
1416
|
+
"content": ";",
|
|
1417
|
+
"props": {
|
|
1418
|
+
"style": {
|
|
1419
|
+
"color": "#81A1C1"
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
}]
|
|
1423
|
+
}, {
|
|
1424
|
+
"tokens": []
|
|
1425
|
+
}, {
|
|
1426
|
+
"tokens": [{
|
|
1427
|
+
"content": "export",
|
|
1428
|
+
"props": {
|
|
1429
|
+
"style": {
|
|
1430
|
+
"color": "#81A1C1"
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
}, {
|
|
1434
|
+
"content": " ",
|
|
1435
|
+
"props": {
|
|
1436
|
+
"style": {
|
|
1437
|
+
"color": "#D8DEE9FF"
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
}, {
|
|
1441
|
+
"content": "default",
|
|
1442
|
+
"props": {
|
|
1443
|
+
"style": {
|
|
1444
|
+
"color": "#81A1C1"
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
}, {
|
|
1448
|
+
"content": " ",
|
|
1449
|
+
"props": {
|
|
1450
|
+
"style": {
|
|
1451
|
+
"color": "#D8DEE9FF"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
}, {
|
|
1455
|
+
"content": "defineConfig",
|
|
1456
|
+
"props": {
|
|
1457
|
+
"style": {
|
|
1458
|
+
"color": "#88C0D0"
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
}, {
|
|
1462
|
+
"content": "(",
|
|
1463
|
+
"props": {
|
|
1464
|
+
"style": {
|
|
1465
|
+
"color": "#D8DEE9FF"
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
}, {
|
|
1469
|
+
"content": "{",
|
|
1470
|
+
"props": {
|
|
1471
|
+
"style": {
|
|
1472
|
+
"color": "#ECEFF4"
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
}]
|
|
1476
|
+
}, {
|
|
1477
|
+
"tokens": [{
|
|
1478
|
+
"content": " ",
|
|
1479
|
+
"props": {
|
|
1480
|
+
"style": {
|
|
1481
|
+
"color": "#D8DEE9FF"
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
}, {
|
|
1485
|
+
"content": "plugins",
|
|
1486
|
+
"props": {
|
|
1487
|
+
"style": {
|
|
1488
|
+
"color": "#D8DEE9"
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
}, {
|
|
1492
|
+
"content": ":",
|
|
1493
|
+
"props": {
|
|
1494
|
+
"style": {
|
|
1495
|
+
"color": "#ECEFF4"
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
}, {
|
|
1499
|
+
"content": " [",
|
|
1500
|
+
"props": {
|
|
1501
|
+
"style": {
|
|
1502
|
+
"color": "#D8DEE9FF"
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
}, {
|
|
1506
|
+
"content": "moduleTools",
|
|
1507
|
+
"props": {
|
|
1508
|
+
"style": {
|
|
1509
|
+
"color": "#88C0D0"
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
}, {
|
|
1513
|
+
"content": "()]",
|
|
1514
|
+
"props": {
|
|
1515
|
+
"style": {
|
|
1516
|
+
"color": "#D8DEE9FF"
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
}, {
|
|
1520
|
+
"content": ",",
|
|
1521
|
+
"props": {
|
|
1522
|
+
"style": {
|
|
1523
|
+
"color": "#ECEFF4"
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
}]
|
|
1527
|
+
}, {
|
|
1528
|
+
"tokens": [{
|
|
1529
|
+
"content": "}",
|
|
1530
|
+
"props": {
|
|
1531
|
+
"style": {
|
|
1532
|
+
"color": "#ECEFF4"
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
}, {
|
|
1536
|
+
"content": ")",
|
|
1537
|
+
"props": {
|
|
1538
|
+
"style": {
|
|
1539
|
+
"color": "#D8DEE9FF"
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
}]
|
|
1543
|
+
}],
|
|
1544
|
+
"lang": "ts"
|
|
1545
|
+
},
|
|
1546
|
+
"annotations": []
|
|
1547
|
+
}]
|
|
1548
|
+
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1549
|
+
children: ["最后在项目的 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1293
1550
|
children: "package.json"
|
|
1294
1551
|
}), " 文件里增加命令 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
1295
1552
|
children: "\"build\": \"modern build\""
|
|
@@ -1472,7 +1729,7 @@ function _createMdxContent(props) {
|
|
|
1472
1729
|
}), " 来使用 Module Tools 构建你的项目了。"]
|
|
1473
1730
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
|
|
1474
1731
|
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
|
|
1475
|
-
children: "
|
|
1732
|
+
children: "如果你想要看看使用了模块工程方案的完整项目,可以执行以下命令"
|
|
1476
1733
|
}), ":"]
|
|
1477
1734
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
|
|
1478
1735
|
codeConfig: chCodeConfig,
|
|
@@ -1503,7 +1760,7 @@ function _createMdxContent(props) {
|
|
|
1503
1760
|
}
|
|
1504
1761
|
}
|
|
1505
1762
|
}, {
|
|
1506
|
-
"content": " module-tools-example",
|
|
1763
|
+
"content": " module-tools-example/base",
|
|
1507
1764
|
"props": {
|
|
1508
1765
|
"style": {
|
|
1509
1766
|
"color": "#D8DEE9FF"
|
|
@@ -1602,10 +1859,6 @@ function _createMdxContent(props) {
|
|
|
1602
1859
|
},
|
|
1603
1860
|
"annotations": []
|
|
1604
1861
|
}]
|
|
1605
|
-
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.blockquote, {
|
|
1606
|
-
children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
|
|
1607
|
-
children: "上面的链接对应的内容待补充"
|
|
1608
|
-
}), "\n"]
|
|
1609
1862
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
|
|
1610
1863
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
|
|
1611
1864
|
children: "如果你想要创建一个完整的模块工程项目,可以执行以下命令:"
|
|
@@ -1746,12 +1999,12 @@ function _createMdxContent(props) {
|
|
|
1746
1999
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
|
|
1747
2000
|
children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
1748
2001
|
children: ["我是初学者,需要学习 Module Tools 的", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1749
|
-
href: "/guide/basic/before-getting-started.html",
|
|
2002
|
+
href: "/module-tools/guide/basic/before-getting-started.html",
|
|
1750
2003
|
children: "基础使用"
|
|
1751
2004
|
}), "。"]
|
|
1752
2005
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
1753
2006
|
children: ["我已经初步掌握了 Module Tools 的使用,可以学习 Module Tools 的", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
1754
|
-
href: "/guide/basic/before-getting-started.html",
|
|
2007
|
+
href: "/module-tools/guide/basic/before-getting-started.html",
|
|
1755
2008
|
children: "高级使用"
|
|
1756
2009
|
}), "。"]
|
|
1757
2010
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
|
|
@@ -1760,23 +2013,19 @@ function _createMdxContent(props) {
|
|
|
1760
2013
|
})]
|
|
1761
2014
|
});
|
|
1762
2015
|
}
|
|
1763
|
-
function MDXContent() {
|
|
1764
|
-
|
|
1765
|
-
var _ref = props.components || {},
|
|
1766
|
-
MDXLayout = _ref.wrapper;
|
|
2016
|
+
function MDXContent(props = {}) {
|
|
2017
|
+
const {wrapper: MDXLayout} = props.components || ({});
|
|
1767
2018
|
return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
|
|
1768
2019
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
|
|
1769
2020
|
})) : _createMdxContent(props);
|
|
1770
2021
|
}
|
|
1771
|
-
_c = MDXContent;
|
|
1772
2022
|
/* harmony default export */ __webpack_exports__["default"] = (MDXContent);
|
|
1773
2023
|
function _missingMdxReference(id, component, place) {
|
|
1774
|
-
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/
|
|
2024
|
+
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/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/getting-started.md`" : ""));
|
|
1775
2025
|
}
|
|
1776
|
-
|
|
1777
|
-
__webpack_require__.$Refresh$.register(_c, "MDXContent");
|
|
2026
|
+
|
|
1778
2027
|
|
|
1779
2028
|
/***/ })
|
|
1780
2029
|
|
|
1781
2030
|
}]);
|
|
1782
|
-
//# sourceMappingURL=
|
|
2031
|
+
//# sourceMappingURL=zh_guide_intro_getting-started.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/async/
|
|
1
|
+
{"version":3,"file":"static/js/async/zh_guide_intro_getting-started.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;AAEA;;AAEA;;;;AAAA;AAAA;AAAA;AAAA;;AAEA;;;;;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;AAAA;AAAA;;;AAEA;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;;AAAA;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;;AAAA;;AAAA;;AAAA;;AAAA;;;AAEA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;;AAAA;;AAAA;;;AAEA;;AAEA;;AAAA;;AAAA;;;;;;;;AAEA;;AAEA;;;AAEA;;AAAA;AAAA;;AACA;;AAAA;AAAA;;AACA","sources":["webpack://@modern-js/module-tools-docs/./docs/zh/guide/intro/getting-started.md"],"names":[],"sourceRoot":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["
|
|
2
|
+
(self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["zh_guide_intro_welcome"],{
|
|
3
3
|
|
|
4
4
|
/***/ "./docs/zh/guide/intro/welcome.md":
|
|
5
5
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14,14 +14,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14
14
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");
|
|
15
15
|
/*@jsxRuntime automatic @jsxImportSource react*/
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
const frontmatter = {
|
|
18
18
|
"sidebar_position": 1
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
const toc = [];
|
|
21
|
+
const title = `欢迎使用`;
|
|
22
|
+
const content = "\"---\\nsidebar_position: 1\\n---\\n\\n# 欢迎使用\\n\\nModule Tools 是 Modern.js 的模块工程解决方案,同时也是核心依赖。它可以让开发者更轻松地构建、调试、发布模块类型的项目。模块类型的项目大多数情况可以认为是 npm 包类型的项目,它可能是一个组件、组件库或者工具库项目。\\n\\n如果你正打算开发一个 npm 包类型的项目,那么你就来对地方了!Modern.js 提供了专业的模块工程解决方案。它带来了:\\n\\n- **简单的项目初始化**:仅需执行 `npx @modern-js/create project-dir` 命令,然后进行几个交互问题,就可以创建一个完整的模块类型项目。创建的项目还支持选择 [**pnpm**](https://pnpm.io/)、[**Yarn**](https://classic.yarnpkg.com/) 两种包管理器。\\n- **代码格式化**:在模块工程项目中,你可以执行 `modern lint` 来对代码进行格式化。同时初始化的模块工程项目里包含了 Modern.js 的 [ESLint](https://eslint.org/docs/latest/user-guide/core-concepts#what-is-eslint) 规则集,可以满足大部分场景下的需求。\\n- **全面的构建能力和更快的构建速度**:Module Tools 基于 [esbuild](https://esbuild.github.io/getting-started/) 和 [SWC](https://swc.rs/) 提供了高性能的构建能力,并且为不同构建模块的场景提供了丰富的配置。\\n- **Storybook 调试工具**:Module Tools 为调试模块项目提供了 [Storybook](https://storybook.js.org/) 调试工具。在安装了 Module Tools 的 Storybook 插件后,你可以使用 `modern dev storybook` 命令来启动它。你不仅可以使用 Storybook 对组件进行调试,也可以使用在其他类型的模块上。\\n- **集成 Jest 的测试能力**:在需要对模块测试的时候,可以使用 Module Tools 的 `modern test` 命令。Module Tools 不仅集成了 [Jest](https://jestjs.io/),同时也提供了配置 [Jest](https://jestjs.io/docs/configuration) 的 API。\\n- **基于 Changesets 实现的版本管理**:当需要对项目记录变更内容的时候,可以使用 `modern change` 命令生成包含变更内容的 Markdown 文件;当需要对项目进行版本升级的时候,可以使用 `modern bump` 命令通过 Markdown 文件分析并升级版本;当需要发布项目的时候,可以使用 `modern release` 命令对项目进行发布。Module Tools 基于 [Changesets](https://github.com/changesets/changesets) 实现了这些命令。\\n- **可扩展性的插件机制**:想要为项目集成其他的调试工具?又或者是想要在构建过程中做一些额外处理?Module Tools 提供了插件机制和插件钩子,插件钩子覆盖了 `dev` 命令和 `build` 命令两个流程。你可以通过它们为项目进行能力的扩展。\\n- **还有更多**:Module Tools 在未来还会不断的在构建、调试功能上进行优化。如果在模块项目构建上存在需要解决的重要问题,又或者是某个主流的模块项目调试工具、模式出现的时候,那么它们很可能成为 Module Tools 将要支持功能。\\n\"";
|
|
23
23
|
function _createMdxContent(props) {
|
|
24
|
-
|
|
24
|
+
const _components = Object.assign({
|
|
25
25
|
h1: "h1",
|
|
26
26
|
a: "a",
|
|
27
27
|
p: "p",
|
|
@@ -51,11 +51,15 @@ function _createMdxContent(props) {
|
|
|
51
51
|
children: "npx @modern-js/create project-dir"
|
|
52
52
|
}), " 命令,然后进行几个交互问题,就可以创建一个完整的模块类型项目。创建的项目还支持选择 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
53
53
|
href: "https://pnpm.io/",
|
|
54
|
+
target: "_blank",
|
|
55
|
+
rel: "nofollow",
|
|
54
56
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
|
|
55
57
|
children: "pnpm"
|
|
56
58
|
})
|
|
57
59
|
}), "、", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
58
60
|
href: "https://classic.yarnpkg.com/",
|
|
61
|
+
target: "_blank",
|
|
62
|
+
rel: "nofollow",
|
|
59
63
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
|
|
60
64
|
children: "Yarn"
|
|
61
65
|
})
|
|
@@ -67,6 +71,8 @@ function _createMdxContent(props) {
|
|
|
67
71
|
children: "modern lint"
|
|
68
72
|
}), " 来对代码进行格式化。同时初始化的模块工程项目里包含了 Modern.js 的 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
69
73
|
href: "https://eslint.org/docs/latest/user-guide/core-concepts#what-is-eslint",
|
|
74
|
+
target: "_blank",
|
|
75
|
+
rel: "nofollow",
|
|
70
76
|
children: "ESLint"
|
|
71
77
|
}), " 规则集,可以满足大部分场景下的需求。"]
|
|
72
78
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
@@ -74,9 +80,13 @@ function _createMdxContent(props) {
|
|
|
74
80
|
children: "全面的构建能力和更快的构建速度"
|
|
75
81
|
}), ":Module Tools 基于 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
76
82
|
href: "https://esbuild.github.io/getting-started/",
|
|
83
|
+
target: "_blank",
|
|
84
|
+
rel: "nofollow",
|
|
77
85
|
children: "esbuild"
|
|
78
86
|
}), " 和 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
79
87
|
href: "https://swc.rs/",
|
|
88
|
+
target: "_blank",
|
|
89
|
+
rel: "nofollow",
|
|
80
90
|
children: "SWC"
|
|
81
91
|
}), " 提供了高性能的构建能力,并且为不同构建模块的场景提供了丰富的配置。"]
|
|
82
92
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
@@ -84,6 +94,8 @@ function _createMdxContent(props) {
|
|
|
84
94
|
children: "Storybook 调试工具"
|
|
85
95
|
}), ":Module Tools 为调试模块项目提供了 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
86
96
|
href: "https://storybook.js.org/",
|
|
97
|
+
target: "_blank",
|
|
98
|
+
rel: "nofollow",
|
|
87
99
|
children: "Storybook"
|
|
88
100
|
}), " 调试工具。在安装了 Module Tools 的 Storybook 插件后,你可以使用 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
|
|
89
101
|
children: "modern dev storybook"
|
|
@@ -95,9 +107,13 @@ function _createMdxContent(props) {
|
|
|
95
107
|
children: "modern test"
|
|
96
108
|
}), " 命令。Module Tools 不仅集成了 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
97
109
|
href: "https://jestjs.io/",
|
|
110
|
+
target: "_blank",
|
|
111
|
+
rel: "nofollow",
|
|
98
112
|
children: "Jest"
|
|
99
113
|
}), ",同时也提供了配置 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
100
114
|
href: "https://jestjs.io/docs/configuration",
|
|
115
|
+
target: "_blank",
|
|
116
|
+
rel: "nofollow",
|
|
101
117
|
children: "Jest"
|
|
102
118
|
}), " 的 API。"]
|
|
103
119
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
@@ -111,6 +127,8 @@ function _createMdxContent(props) {
|
|
|
111
127
|
children: "modern release"
|
|
112
128
|
}), " 命令对项目进行发布。Module Tools 基于 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
|
|
113
129
|
href: "https://github.com/changesets/changesets",
|
|
130
|
+
target: "_blank",
|
|
131
|
+
rel: "nofollow",
|
|
114
132
|
children: "Changesets"
|
|
115
133
|
}), " 实现了这些命令。"]
|
|
116
134
|
}), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
|
|
@@ -129,20 +147,16 @@ function _createMdxContent(props) {
|
|
|
129
147
|
})]
|
|
130
148
|
});
|
|
131
149
|
}
|
|
132
|
-
function MDXContent() {
|
|
133
|
-
|
|
134
|
-
var _ref = props.components || {},
|
|
135
|
-
MDXLayout = _ref.wrapper;
|
|
150
|
+
function MDXContent(props = {}) {
|
|
151
|
+
const {wrapper: MDXLayout} = props.components || ({});
|
|
136
152
|
return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
|
|
137
153
|
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
|
|
138
154
|
})) : _createMdxContent(props);
|
|
139
155
|
}
|
|
140
|
-
_c = MDXContent;
|
|
141
156
|
/* harmony default export */ __webpack_exports__["default"] = (MDXContent);
|
|
142
|
-
|
|
143
|
-
__webpack_require__.$Refresh$.register(_c, "MDXContent");
|
|
157
|
+
|
|
144
158
|
|
|
145
159
|
/***/ })
|
|
146
160
|
|
|
147
161
|
}]);
|
|
148
|
-
//# sourceMappingURL=
|
|
162
|
+
//# sourceMappingURL=zh_guide_intro_welcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/async/zh_guide_intro_welcome.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;AAEA;;AAEA;;;;AAEA;AAAA;;AAAA;;;;;AAAA;;AAAA;;;;;AAAA;;AAAA;;;AACA;AAAA;;AAAA;;;;AAAA;AAAA;;;AACA;AAAA;;;;AAAA;AAAA;;;;AAAA;AAAA;;;AACA;AAAA;;;;AAAA;AAAA;;AAAA;;;AACA;AAAA;;AAAA;;;;AAAA;AAAA;;;;AAAA;AAAA;;;AACA;AAAA;;AAAA;;AAAA;;AAAA;;;;AAAA;AAAA;;;AACA;AAAA;;AAAA;;AAAA;;;AACA;AAAA","sources":["webpack://@modern-js/module-tools-docs/./docs/zh/guide/intro/welcome.md"],"names":[],"sourceRoot":""}
|