docs: 合入参数说明修正(entry 由命令行传入)
This commit is contained in:
1 parent
b2c42eccd5
commit
52877add49
1 file changed
+2
-2
@@ -67,8 +67,8 @@ template/ # 最小可运行插件(复制它开始)
|
||||
examples/ # 示例/样板插件
|
||||
```
|
||||
|
||||
每个插件目录含 `src/index.js`(IIFE 产物)与 `package.json`(`version` + `ibwPlugin.entry`),
|
||||
宿主的 `plugins-sync.sh` 取 `ibwPlugin.entry` 指定的文件合入。
|
||||
每个插件目录含 `src/index.js`(IIFE 产物)与 `package.json`(`version` + `ibwPlugin.entry` 供人读,
|
||||
`version` 用于来源追溯)。合入时把该文件路径作为 `plugins-sync.sh` 的第三个参数传入(默认 `dist/plugin.js`)。
|
||||
|
||||
## 什么时候必须改宿主
|
||||
|
||||
|
||||
Reference in new issue
Block a user