Skip to content

Commit 67b1899

Browse files
Update author-libraries.md
1 parent e1e18c7 commit 67b1899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/guides/author-libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ __webpack.config.js__
272272

273273
可以通过以下方式暴露 library:
274274

275-
- Variable:作为一个全局变量,通过 `script` 标签来访问(`libraryTarget:'var'`)。
275+
- 变量:作为一个全局变量,通过 `script` 标签来访问(`libraryTarget:'var'`)。
276276
- this:通过 `this` 对象访问(`libraryTarget:'this'`)。
277277
- window:通过 `window` 对象访问,在浏览器中(`libraryTarget:'window'`)。
278278
- UMD:在 AMD 或 CommonJS 的 `require` 之后可访问(`libraryTarget:'umd'`)。

0 commit comments

Comments
 (0)