File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ The module name of the UMD bundle must not conflict with the global variable nam
1313
1414## Example
1515
16- - Mount the UMD bundle to ` globalThis .MyLibrary` .
16+ - Mount the UMD bundle to ` global .MyLibrary` .
1717
1818``` ts title="rslib.config.ts"
1919export default {
@@ -26,7 +26,7 @@ export default {
2626};
2727```
2828
29- - Mount the UMD bundle to ` globalThis .MyLibrary1.MyLibrary2` .
29+ - Mount the UMD bundle to ` global .MyLibrary1.MyLibrary2` .
3030
3131``` ts title="rslib.config.ts"
3232export default {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ UMD 包的模块名称不能与全局变量名称冲突。
1313
1414## 示例
1515
16- - 将 UMD 包挂载到 ` globalThis .MyLibrary` 。
16+ - 将 UMD 包挂载到 ` global .MyLibrary` 。
1717
1818``` ts title="rslib.config.ts"
1919export default {
@@ -26,7 +26,7 @@ export default {
2626};
2727```
2828
29- - 将 UMD 包挂载到 ` globalThis .MyLibrary1.MyLibrary2` 。
29+ - 将 UMD 包挂载到 ` global .MyLibrary1.MyLibrary2` 。
3030
3131``` ts title="rslib.config.ts"
3232export default {
You can’t perform that action at this time.
0 commit comments