Skip to content

Commit 9321cc9

Browse files
committed
docs: clarify ESM-only support
1 parent ab15ecf commit 9321cc9

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ Some users do not have the habit of closing web pages. If the front-end page is
118118

119119
## Install
120120

121+
> **ESM-only:** The current release only supports ESM. If your project still relies on CommonJS, please install version `1.8.1` instead.
122+
121123
```bash
122124
# vite
123125
pnpm add @plugin-web-update-notification/vite -D

README.zh-CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ sequenceDiagram
118118

119119
## 安装
120120

121+
> **仅支持 ESM:**当前版本仅支持 ESM。如果你的项目仍依赖 CommonJS,请安装 `1.8.1` 版本。
122+
121123
```bash
122124
# vite
123125
pnpm add @plugin-web-update-notification/vite -D

0 commit comments

Comments
 (0)