@modern-js/module-tools-docs 2.0.3-beta.0 → 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.
Files changed (56) hide show
  1. package/doc_build/static/css/main.css +32 -21
  2. package/doc_build/static/css/main.css.map +1 -1
  3. package/doc_build/static/js/async/en_api_config_build-config.js +10 -10
  4. package/doc_build/static/js/async/en_api_config_plugins.js +1 -1
  5. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +2 -2
  6. package/doc_build/static/js/async/en_guide_advance_asset.js +1 -1
  7. package/doc_build/static/js/async/en_guide_advance_build-umd.js +5 -5
  8. package/doc_build/static/js/async/en_guide_advance_copy.js +5 -5
  9. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +3 -3
  10. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +9 -9
  11. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +1 -1
  12. package/doc_build/static/js/async/en_guide_advance_theme-config.js +3 -3
  13. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +5 -5
  14. package/doc_build/static/js/async/en_guide_basic_command-preview.js +3 -3
  15. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +26 -26
  16. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +4 -4
  17. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +3 -3
  18. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +3 -3
  19. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +4 -4
  20. package/doc_build/static/js/async/en_guide_best-practices_components.js +10 -10
  21. package/doc_build/static/js/async/en_guide_intro_getting-started.js +275 -30
  22. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -1
  23. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +3 -3
  24. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +2 -2
  25. package/doc_build/static/js/async/zh_api_config_build-config.js +9 -9
  26. package/doc_build/static/js/async/zh_api_config_plugins.js +1 -1
  27. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.js +2 -2
  28. package/doc_build/static/js/async/zh_guide_advance_asset.js +1 -1
  29. package/doc_build/static/js/async/zh_guide_advance_build-umd.js +5 -5
  30. package/doc_build/static/js/async/zh_guide_advance_copy.js +6 -6
  31. package/doc_build/static/js/async/zh_guide_advance_external-dependency.js +3 -3
  32. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.js +9 -9
  33. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js +1 -1
  34. package/doc_build/static/js/async/zh_guide_advance_theme-config.js +2 -2
  35. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js +5 -5
  36. package/doc_build/static/js/async/zh_guide_basic_command-preview.js +3 -3
  37. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js +31 -31
  38. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.js +4 -4
  39. package/doc_build/static/js/async/zh_guide_basic_test-your-project.js +3 -3
  40. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js +3 -3
  41. package/doc_build/static/js/async/zh_guide_basic_using-storybook.js +4 -4
  42. package/doc_build/static/js/async/zh_guide_best-practices_components.js +10 -10
  43. package/doc_build/static/js/async/zh_guide_intro_getting-started.js +275 -24
  44. package/doc_build/static/js/async/zh_guide_intro_getting-started.js.map +1 -1
  45. package/doc_build/static/js/async/zh_plugins_guide_getting-started.js +3 -3
  46. package/doc_build/static/js/async/zh_plugins_guide_setup-function.js +2 -2
  47. package/doc_build/static/js/builder-runtime.js +1 -1
  48. package/doc_build/static/js/builder-runtime.js.map +1 -1
  49. package/doc_build/static/js/main.js +130 -83
  50. package/doc_build/static/js/main.js.map +1 -1
  51. 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 +62 -62
  52. 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
  53. package/doc_build/static/search_index.json +1 -1
  54. package/docs/en/guide/intro/getting-started.md +16 -7
  55. package/docs/zh/guide/intro/getting-started.md +17 -11
  56. package/package.json +3 -3
@@ -1585,12 +1585,12 @@ function _createMdxContent(props) {
1585
1585
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1586
1586
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1587
1587
  children: ["will generate ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1588
- href: "https://nodejs.org/api/modules.html#modules-commonjs-modules-3",
1588
+ href: "https://nodejs.org/api/modules.html#modules-commonjs-modules-2",
1589
1589
  target: "_blank",
1590
1590
  rel: "nofollow",
1591
1591
  children: "CommonJS"
1592
1592
  }), " and [ESM](", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1593
- href: "https://nodejs.org/api/esm.html#modules-",
1593
+ href: "https://nodejs.org/api/esm.html#modules--1",
1594
1594
  target: "_blank",
1595
1595
  rel: "nofollow",
1596
1596
  children: "https://nodejs.org/api/esm.html#modules-"
@@ -1652,7 +1652,7 @@ function _createMdxContent(props) {
1652
1652
  }), ", so a build preset of this form is called a preset string."]
1653
1653
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1654
1654
  children: ["The module engineering solution provides generic build preset strings and corresponding variants, depending on the generic scenario in which the npm package is used. All currently supported preset strings can be viewed via the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1655
- href: "/en/api/config/build-preset.html",
1655
+ href: "/module-tools/en/api/config/build-preset.html",
1656
1656
  children: "BuildPreset API"
1657
1657
  }), ". Here is an explanation about the relationship between ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1658
1658
  children: "generic preset strings and variants"
@@ -2316,56 +2316,56 @@ function _createMdxContent(props) {
2316
2316
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2317
2317
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2318
2318
  children: ["Whether the product is packaged or not: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2319
- href: "/en/api/config/build-config.html#buildtype-6",
2319
+ href: "/module-tools/en/api/config/build-config.html#buildtype-4",
2320
2320
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2321
2321
  children: "buildConfig.buildType"
2322
2322
  })
2323
2323
  }), "."]
2324
2324
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2325
2325
  children: ["Product support for syntax: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2326
- href: "/en/api/config/build-config.html#target-3",
2326
+ href: "/module-tools/en/api/config/build-config.html#target-2",
2327
2327
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2328
2328
  children: "buildConfig.target"
2329
2329
  })
2330
2330
  }), "."]
2331
2331
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2332
2332
  children: ["Output format: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2333
- href: "/en/api/config/build-config.html#format-3",
2333
+ href: "/module-tools/en/api/config/build-config.html#format-2",
2334
2334
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2335
2335
  children: "buildConfig.format"
2336
2336
  })
2337
2337
  }), "."]
2338
2338
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2339
2339
  children: ["How the output type file is handled: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2340
- href: "/en/api/config/build-config.html#dts-6",
2340
+ href: "/module-tools/en/api/config/build-config.html#dts-4",
2341
2341
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2342
2342
  children: "buildConfig.dts"
2343
2343
  })
2344
2344
  }), "."]
2345
2345
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2346
2346
  children: ["How the sourceMap of the product is handled: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2347
- href: "/en/api/config/build-config.html#sourcemap-3",
2347
+ href: "/module-tools/en/api/config/build-config.html#sourcemap-2",
2348
2348
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2349
2349
  children: "buildConfig.sourceMap"
2350
2350
  })
2351
2351
  }), "."]
2352
2352
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2353
2353
  children: ["The input (or source file) corresponding to the output: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2354
- href: "/en/api/config/build-config.html#input-6",
2354
+ href: "/module-tools/en/api/config/build-config.html#input-4",
2355
2355
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2356
2356
  children: "buildConfig.input"
2357
2357
  })
2358
2358
  }), "."]
2359
2359
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2360
2360
  children: ["The directory of the output of the product: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2361
- href: "/en/api/config/build-config.html#outdir-9",
2361
+ href: "/module-tools/en/api/config/build-config.html#outdir-8",
2362
2362
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2363
2363
  children: "buildConfig.outDir"
2364
2364
  })
2365
2365
  }), "."]
2366
2366
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2367
2367
  children: ["Build source directory: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2368
- href: "/en/api/config/build-config.html#sourcedir-8",
2368
+ href: "/module-tools/en/api/config/build-config.html#sourcedir-6",
2369
2369
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2370
2370
  children: "buildConfig.sourceDir"
2371
2371
  })
@@ -2378,14 +2378,14 @@ function _createMdxContent(props) {
2378
2378
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2379
2379
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2380
2380
  children: ["Alias: The corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2381
- href: "/en/api/config/build-config.html#alias-3",
2381
+ href: "/module-tools/en/api/config/build-config.html#alias-2",
2382
2382
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2383
2383
  children: "buildConfig.alias"
2384
2384
  })
2385
2385
  }), "."]
2386
2386
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2387
2387
  children: ["Static resource handling: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2388
- href: "/en/api/config/build-config.html#asset-6",
2388
+ href: "/module-tools/en/api/config/build-config.html#asset-4",
2389
2389
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2390
2390
  children: "buildConfig.asset"
2391
2391
  })
@@ -2394,14 +2394,14 @@ function _createMdxContent(props) {
2394
2394
  children: ["Third-party dependency handling: The corresponding APIs are", "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2395
2395
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2396
2396
  children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2397
- href: "/en/api/config/build-config.html#autoexternal-8",
2397
+ href: "/module-tools/en/api/config/build-config.html#autoexternal-6",
2398
2398
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2399
2399
  children: "buildConfig.autoExternal"
2400
2400
  })
2401
2401
  }), "."]
2402
2402
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2403
2403
  children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2404
- href: "/en/api/config/build-config.html#externals-11",
2404
+ href: "/module-tools/en/api/config/build-config.html#externals-8",
2405
2405
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2406
2406
  children: "buildConfig.externals"
2407
2407
  })
@@ -2410,14 +2410,14 @@ function _createMdxContent(props) {
2410
2410
  }), "\n"]
2411
2411
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2412
2412
  children: ["Copy: The corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2413
- href: "/en/api/config/build-config.html#copy-5",
2413
+ href: "/module-tools/en/api/config/build-config.html#copy-4",
2414
2414
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2415
2415
  children: "buildConfig.copy"
2416
2416
  })
2417
2417
  }), "."]
2418
2418
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2419
2419
  children: ["Global variable substitution: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2420
- href: "/en/api/config/build-config.html#define-6",
2420
+ href: "/module-tools/en/api/config/build-config.html#define-4",
2421
2421
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2422
2422
  children: "buildConfig.define"
2423
2423
  })
@@ -2439,21 +2439,21 @@ function _createMdxContent(props) {
2439
2439
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2440
2440
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2441
2441
  children: ["Product code compression: The corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2442
- href: "/en/api/config/build-config.html#minify-3",
2442
+ href: "/module-tools/en/api/config/build-config.html#minify-2",
2443
2443
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2444
2444
  children: "buildConfig.minify"
2445
2445
  })
2446
2446
  }), "."]
2447
2447
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2448
2448
  children: ["Code splitting: ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2449
- href: "/en/api/config/build-config.html#splitting-7",
2449
+ href: "/module-tools/en/api/config/build-config.html#splitting-5",
2450
2450
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2451
2451
  children: "buildConfig.splitting"
2452
2452
  })
2453
2453
  })]
2454
2454
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2455
2455
  children: ["Specify whether the build product is for the NodeJS environment or the browser environment: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2456
- href: "/en/api/config/build-config.html#platform-3",
2456
+ href: "/module-tools/en/api/config/build-config.html#platform-2",
2457
2457
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2458
2458
  children: "buildConfig.platform"
2459
2459
  })
@@ -2462,14 +2462,14 @@ function _createMdxContent(props) {
2462
2462
  children: ["umd product-related.", "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2463
2463
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2464
2464
  children: ["Specifies the global variables imported externally to the umd product: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2465
- href: "/en/api/config/build-config.html#umdglobals-6",
2465
+ href: "/module-tools/en/api/config/build-config.html#umdglobals-4",
2466
2466
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2467
2467
  children: "buildConfig.umdGlobals"
2468
2468
  })
2469
2469
  }), "."]
2470
2470
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2471
2471
  children: ["Specify the module name of the umd product: the corresponding API is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2472
- href: "/en/api/config/build-config.html#umdmodulename-6",
2472
+ href: "/module-tools/en/api/config/build-config.html#umdmodulename-4",
2473
2473
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2474
2474
  children: "buildConfig.umdModuleName"
2475
2475
  })
@@ -2494,7 +2494,7 @@ function _createMdxContent(props) {
2494
2494
  }), "](/guide/advance/in-depth-about-build#input- to -sourcedir-)"]
2495
2495
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2496
2496
  children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2497
- href: "/en/guide/advance/in-depth-about-build.html#type-files",
2497
+ href: "/module-tools/en/guide/advance/in-depth-about-build.html#type-files-1",
2498
2498
  children: "Multiple ways to generate type files in product"
2499
2499
  }), "."]
2500
2500
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
@@ -2503,19 +2503,19 @@ function _createMdxContent(props) {
2503
2503
  }), " Different ways to use it for different scenarios.](/guide/advance/in-depth-about-build#buildconfigdefine - How to use it for different scenarios)"]
2504
2504
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
2505
2505
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2506
- href: "/en/guide/advance/external-dependency.html",
2506
+ href: "/module-tools/en/guide/advance/external-dependency.html",
2507
2507
  children: "How to handle third-party dependencies?"
2508
2508
  })
2509
2509
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
2510
2510
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2511
- href: "/en/guide/advance/copy.html",
2511
+ href: "/module-tools/en/guide/advance/copy.html",
2512
2512
  children: "How to use copy?"
2513
2513
  })
2514
2514
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
2515
2515
  children: "How do I build umd products? (/guide/advance/build-umd# sets the global variable name of the project)"
2516
2516
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
2517
2517
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2518
- href: "/en/guide/advance/asset.html",
2518
+ href: "/module-tools/en/guide/advance/asset.html",
2519
2519
  children: "The capabilities currently supported by static resources."
2520
2520
  })
2521
2521
  }), "\n"]
@@ -1272,7 +1272,7 @@ function _createMdxContent(props) {
1272
1272
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1273
1273
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1274
1274
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1275
- href: "/en/guide/basic/command-preview.html#modern-change-1",
1275
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-change-1",
1276
1276
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1277
1277
  children: "modern change"
1278
1278
  })
@@ -1673,7 +1673,7 @@ function _createMdxContent(props) {
1673
1673
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1674
1674
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1675
1675
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1676
- href: "/en/guide/basic/command-preview.html#modern-bump-1",
1676
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-bump-1",
1677
1677
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1678
1678
  children: "modern bump"
1679
1679
  })
@@ -1790,7 +1790,7 @@ function _createMdxContent(props) {
1790
1790
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1791
1791
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1792
1792
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1793
- href: "/en/guide/basic/command-preview.html#modern-release-1",
1793
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-release-1",
1794
1794
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1795
1795
  children: "modern publish"
1796
1796
  })
@@ -1864,7 +1864,7 @@ function _createMdxContent(props) {
1864
1864
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1865
1865
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1866
1866
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1867
- href: "/en/guide/basic/command-preview.html#modern-pre-1",
1867
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-pre-1",
1868
1868
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1869
1869
  children: "modern pre"
1870
1870
  })
@@ -1261,7 +1261,7 @@ function _createMdxContent(props) {
1261
1261
  children: ["To use the testing features of the project, you need to make sure that the project contains the dependency: ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1262
1262
  children: "\"@modern-js/plugin-testing\""
1263
1263
  }), " , which can be done with ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1264
- href: "/en/guide/basic/command-preview.html#modern-new-1",
1264
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-new-1",
1265
1265
  children: "modern new"
1266
1266
  }), "."]
1267
1267
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
@@ -1380,7 +1380,7 @@ function _createMdxContent(props) {
1380
1380
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1381
1381
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1382
1382
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1383
- href: "/en/api/config/testing.html",
1383
+ href: "/module-tools/en/api/config/testing.html",
1384
1384
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1385
1385
  children: "testing"
1386
1386
  })
@@ -2601,7 +2601,7 @@ function _createMdxContent(props) {
2601
2601
  className: "modern-directive-content",
2602
2602
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2603
2603
  children: ["\nIf you need to use the Runtime API, then you can turn it on via ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2604
- href: "/en/guide/basic/command-preview.html",
2604
+ href: "/module-tools/en/guide/basic/command-preview.html",
2605
2605
  children: "microgenerator"
2606
2606
  }), "."]
2607
2607
  })
@@ -74,7 +74,7 @@ function _createMdxContent(props) {
74
74
  }), "."]
75
75
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
76
76
  children: ["The microgenerator can be started via ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
77
- href: "/en/guide/basic/command-preview.html",
77
+ href: "/module-tools/en/guide/basic/command-preview.html",
78
78
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
79
79
  children: "modern new"
80
80
  })
@@ -118,14 +118,14 @@ function _createMdxContent(props) {
118
118
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
119
119
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
120
120
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
121
- href: "/en/guide/basic/command-preview.html#modern-dev-6",
121
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-dev-2",
122
122
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
123
123
  children: "modern dev"
124
124
  })
125
125
  })
126
126
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
127
127
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
128
- href: "/en/guide/basic/using-storybook.html",
128
+ href: "/module-tools/en/guide/basic/using-storybook.html",
129
129
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
130
130
  children: "using Storybook"
131
131
  })
@@ -1247,12 +1247,12 @@ function _createMdxContent(props) {
1247
1247
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1248
1248
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1249
1249
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1250
- href: "/en/guide/basic/use-micro-generator.html#storybook-debug-1",
1250
+ href: "/module-tools/en/guide/basic/use-micro-generator.html#storybook-debug",
1251
1251
  children: "use micro-generator to enable Storybook debugging"
1252
1252
  })
1253
1253
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1254
1254
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1255
- href: "/en/guide/basic/command-preview.html#modern-dev-7",
1255
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-dev-3",
1256
1256
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1257
1257
  children: "modern dev"
1258
1258
  })
@@ -4015,7 +4015,7 @@ function _createMdxContent(props) {
4015
4015
  children: ["For the use of pnpm's ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4016
4016
  children: "publishConfig"
4017
4017
  }), ", you can read the following ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4018
- href: "https://pnpm.io/package_json#publishconfig-3",
4018
+ href: "https://pnpm.io/package_json#publishconfig-1",
4019
4019
  target: "_blank",
4020
4020
  rel: "nofollow",
4021
4021
  children: "link"
@@ -4692,7 +4692,7 @@ function _createMdxContent(props) {
4692
4692
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
4693
4693
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
4694
4694
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4695
- href: "/en/guide/basic/command-preview.html#modern-build-3",
4695
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-build-1",
4696
4696
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4697
4697
  children: "modern build"
4698
4698
  })
@@ -11900,7 +11900,7 @@ function _createMdxContent(props) {
11900
11900
  })]
11901
11901
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
11902
11902
  children: ["Tailwind CSS provides the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
11903
- href: "https://v2.tailwindcss.com/docs/functions-and-directives#apply-2",
11903
+ href: "https://v2.tailwindcss.com/docs/functions-and-directives#apply-3",
11904
11904
  target: "_blank",
11905
11905
  rel: "nofollow",
11906
11906
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
@@ -13570,7 +13570,7 @@ function _createMdxContent(props) {
13570
13570
  children: "For styles, a separate product file is generated, and there is no code related to importing styles in the Js product file."
13571
13571
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
13572
13572
  children: ["If you need to inject styles into Js products, you can enable the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.a, {
13573
- href: "/en/api/config/build-config.html#inject-1",
13573
+ href: "/module-tools/en/api/config/build-config.html#inject-1",
13574
13574
  children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
13575
13575
  children: "style.inject"
13576
13576
  }), " API"]
@@ -20372,12 +20372,12 @@ function _createMdxContent(props) {
20372
20372
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
20373
20373
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
20374
20374
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
20375
- href: "/en/api/config/build-config.html#automodules-1",
20375
+ href: "/module-tools/en/api/config/build-config.html#automodules-1",
20376
20376
  children: "autoModules"
20377
20377
  })
20378
20378
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
20379
20379
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
20380
- href: "/en/api/config/build-config.html#modules-1",
20380
+ href: "/module-tools/en/api/config/build-config.html#modules-1",
20381
20381
  children: "modules"
20382
20382
  })
20383
20383
  }), "\n"]
@@ -21179,7 +21179,7 @@ function _createMdxContent(props) {
21179
21179
  }), "\n"]
21180
21180
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
21181
21181
  children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
21182
- href: "/en/api/config/build-preset.html",
21182
+ href: "/module-tools/en/api/config/build-preset.html",
21183
21183
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
21184
21184
  children: "buildPreset"
21185
21185
  })
@@ -21336,7 +21336,7 @@ function _createMdxContent(props) {
21336
21336
  }]
21337
21337
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
21338
21338
  children: ["If you have special needs for the build product directory structure, you can use the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.a, {
21339
- href: "/en/api/config/build-config.html",
21339
+ href: "/module-tools/en/api/config/build-config.html",
21340
21340
  children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
21341
21341
  children: "buildConfig"
21342
21342
  }), " API"]
@@ -21344,12 +21344,12 @@ function _createMdxContent(props) {
21344
21344
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
21345
21345
  children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
21346
21346
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
21347
- href: "/en/guide/basic/modify-output-product.html#build-configuration-object",
21347
+ href: "/module-tools/en/guide/basic/modify-output-product.html#build-configuration-object",
21348
21348
  children: "modify-output-product"
21349
21349
  })
21350
21350
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
21351
21351
  children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
21352
- href: "/en/guide/advance/in-depth-about-build.html",
21352
+ href: "/module-tools/en/guide/advance/in-depth-about-build.html",
21353
21353
  children: "in-depth-about-build"
21354
21354
  })
21355
21355
  }), "\n"]
@@ -21363,7 +21363,7 @@ function _createMdxContent(props) {
21363
21363
  }), "Testing components"]
21364
21364
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
21365
21365
  children: ["For more information on how to test components, please refer to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
21366
- href: "/en/guide/basic/test-your-project.html",
21366
+ href: "/module-tools/en/guide/basic/test-your-project.html",
21367
21367
  children: "[Test project]"
21368
21368
  }), "."]
21369
21369
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
@@ -21376,7 +21376,7 @@ function _createMdxContent(props) {
21376
21376
  }), "Releasing components"]
21377
21377
  }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
21378
21378
  children: ["It is recommended to use module project to provide version publishing function, you can refer to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
21379
- href: "/en/guide/basic/publish-your-project.html",
21379
+ href: "/module-tools/en/guide/basic/publish-your-project.html",
21380
21380
  children: "[Versioning and publishing]"
21381
21381
  }), "."]
21382
21382
  })]