From 52877add49b7e9a9ced814987f736c355985d46b Mon Sep 17 00:00:00 2001 From: dev Date: Sat, 17 Oct 2026 11:58:23 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=90=88=E5=85=A5=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E4=BF=AE=E6=AD=A3=EF=BC=88entry=20=E7=94=B1?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=A1=8C=E4=BC=A0=E5=85=A5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 085a1d0..a598ffe 100644 --- a/README.md +++ b/README.md @@ -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`)。 ## 什么时候必须改宿主