Skip to content

Commit

Permalink
docs(builder-doc): add version tip for sourceBuild api (#4917)
Browse files Browse the repository at this point in the history
Co-authored-by: neverland <[email protected]>
  • Loading branch information
targeral and chenjiahan authored Nov 6, 2023
1 parent ac89fb8 commit 477f18d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/tough-shoes-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/builder-doc': patch
---

doc(builder-doc): add version tip for sourceBuild api
doc(builder-doc): 为 sourceBuild API 添加版本提示信息
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- **Type:** `boolean`
- **Default:** `false`
- **Bundler:** `only support webpack`
- **Version:** `MAJOR_VERSION.26.0`

Used to enable the ability for source code building. When this configuration option is enabled, Builder will read the source code files corresponding to the `source` field in the sub-project's package.json and compile them.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- **类型:** `boolean`
- **默认值:** `false`
- **打包工具:** `仅支持 webpack`
- **版本:** `MAJOR_VERSION.26.0`

用于开启源码构建的能力。当开启此配置项时,Builder 会读取子项目 package.json 的 `source` 字段对应的源码文件,并进行编译。

Expand Down

0 comments on commit 477f18d

Please sign in to comment.