@modern-js/module-tools-docs 2.48.3 → 2.48.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @modern-js/module-tools-docs
2
2
 
3
+ ## 2.48.5
4
+
5
+ ## 2.48.4
6
+
3
7
  ## 2.48.3
4
8
 
5
9
  ### Patch Changes
@@ -116,7 +116,7 @@ export default defineConfig({
116
116
 
117
117
  ## asset.path
118
118
 
119
- Static resource output path, will be based on [outDir](/api/config/build-config#outDir)
119
+ Static resource output path, will be based on [outDir](/api/config/build-config#outdir)
120
120
 
121
121
  - **Type**: `string`
122
122
  - **Default**: `assets`
@@ -471,7 +471,7 @@ When this configuration is disabled, there is no guarantee that the type files w
471
471
 
472
472
  ## dts.distPath
473
473
 
474
- The output path of the dts file, based on [outDir](/api/config/build-config#outDir)
474
+ The output path of the dts file, based on [outDir](/api/config/build-config#outdir)
475
475
 
476
476
  - **Type**: `string`
477
477
  - **Default**: `./`
@@ -1485,7 +1485,7 @@ export default defineConfig({
1485
1485
  });
1486
1486
  ```
1487
1487
 
1488
- Reference the [Import Plugin - Notes](plugins/official-list/plugin-import.html#Notes)
1488
+ Reference the [Import Plugin - Notes](plugins/official-list/plugin-import.html#notes)
1489
1489
 
1490
1490
  ## transformLodash
1491
1491
 
@@ -69,7 +69,7 @@ export default defineConfig({
69
69
  });
70
70
  ```
71
71
 
72
- The `patterns.to` parameter is used to specify the output path for the copied files. By default, its value corresponds to [buildConfig.outDir](/api/config/build-config#outDir). Therefore, we can copy `src/index.html` to the `dist` directory as follows:
72
+ The `patterns.to` parameter is used to specify the output path for the copied files. By default, its value corresponds to [buildConfig.outDir](/api/config/build-config#outdir). Therefore, we can copy `src/index.html` to the `dist` directory as follows:
73
73
 
74
74
  ```ts
75
75
  export default defineConfig({
@@ -60,7 +60,7 @@ In addition, we can also fully customize the build configuration:
60
60
  - How the output type file is handled: the corresponding API is [`buildConfig.dts`](/api/config/build-config#dts).
61
61
  - How the sourceMap of the artifact is handled: the corresponding API is [`buildConfig.sourceMap`](/api/config/build-config#sourcemap).
62
62
  - The input (or source file) corresponding to the output: the corresponding API is [`buildConfig.input`](/api/config/build-config#input).
63
- - The directory of the output of the artifact: the corresponding API is [`buildConfig.outDir`](/api/config/build-config#outDir).
63
+ - The directory of the output of the artifact: the corresponding API is [`buildConfig.outDir`](/api/config/build-config#outdir).
64
64
  - Build source directory: the corresponding API is [`buildConfig.sourceDir`](/api/config/build-config#sourcedir).
65
65
 
66
66
  **Common functions required for build artifacts include:**
@@ -115,7 +115,7 @@ export default defineConfig({
115
115
 
116
116
  ## asset.path
117
117
 
118
- 静态资源输出路径,会基于 [outDir](/api/config/build-config#outDir) 进行输出。
118
+ 静态资源输出路径,会基于 [outDir](/api/config/build-config#outdir) 进行输出。
119
119
 
120
120
  - 类型: `string`
121
121
  - 默认值: `assets`
@@ -464,7 +464,7 @@ export default defineConfig({
464
464
 
465
465
  ## dts.distPath
466
466
 
467
- 类型文件的输出路径,基于 [outDir](/api/config/build-config#outDir) 进行输出。
467
+ 类型文件的输出路径,基于 [outDir](/api/config/build-config#outdir) 进行输出。
468
468
 
469
469
  - 类型: `string`
470
470
  - 默认值: `./`
@@ -68,7 +68,7 @@ export default defineConfig({
68
68
  });
69
69
  ```
70
70
 
71
- `patterns.to` 用于指定复制文件的输出路径,默认情况下它的值为 [`buildConfig.outDir`](/api/config/build-config#outDir)对应的值。因此我们按照如下方式将 `src/index.html` 复制到 `dist` 目录下:
71
+ `patterns.to` 用于指定复制文件的输出路径,默认情况下它的值为 [`buildConfig.outDir`](/api/config/build-config#outdir)对应的值。因此我们按照如下方式将 `src/index.html` 复制到 `dist` 目录下:
72
72
 
73
73
  ```ts
74
74
  export default defineConfig({
@@ -61,7 +61,7 @@ Modern.js Module 主要内置了两套构建预设,包括:
61
61
  - 产物类型文件如何处理,对应的 API 是 [`buildConfig.dts`](/api/config/build-config#dts)。
62
62
  - 产物的 sourceMap 如何处理:对应的 API 是 [`buildConfig.sourceMap`](/api/config/build-config#sourcemap)。
63
63
  - 产物对应的输入(或者是源文件):对应的 API 是 [`buildConfig.input`](/api/config/build-config#input)。
64
- - 产物输出的目录:对应的 API 是 [`buildConfig.outDir`](/api/config/build-config#outDir)。
64
+ - 产物输出的目录:对应的 API 是 [`buildConfig.outDir`](/api/config/build-config#outdir)。
65
65
  - 构建的源码目录:对应的 API 是 [`buildConfig.sourceDir`](/api/config/build-config#sourcedir)。
66
66
 
67
67
  **构建产物所需的常用功能包括:**
package/package.json CHANGED
@@ -9,14 +9,14 @@
9
9
  "directory": "packages/document/module-doc"
10
10
  },
11
11
  "license": "MIT",
12
- "version": "2.48.3",
12
+ "version": "2.48.5",
13
13
  "main": "index.js",
14
14
  "devDependencies": {
15
15
  "react": "^18.2.0",
16
16
  "react-dom": "^18.2.0",
17
- "rspress": "1.15.0",
18
- "@rspress/shared": "1.15.0",
19
- "@modern-js/doc-plugin-auto-sidebar": "2.48.3"
17
+ "rspress": "1.16.0",
18
+ "@rspress/shared": "1.16.0",
19
+ "@modern-js/doc-plugin-auto-sidebar": "2.48.5"
20
20
  },
21
21
  "scripts": {
22
22
  "dev": "rspress dev",