Skip to content

Commit

Permalink
docs(website): 完善多端产物规范
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfeyaj committed Jul 4, 2023
1 parent 584809f commit e5c185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/specifications/component.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ MorJS 是通过 `package.json` 中指定的入口字段来做多端逻辑区分
- `dingding`: 钉钉小程序加载入口
- `taobao`: 淘宝小程序加载入口
- `kuaishou`: 快手小程序加载入口
- `miniforweb`: Web 应用专用小程序产物加载入口
- `miniforweb`: Web 应用专用 **小程序产物** 加载入口,需要注意的是这个目录存放的依然是小程序产物,不要存放 Web 产物,`MorJS` 会在编译时自动解析并将其转换为 Web 产物

请注意,以上的入口字段规范是要求 `NPM 组件` 支持哪个端就 **必须设置好对应的字段**

Expand Down

0 comments on commit e5c185c

Please sign in to comment.