Skip to content

Commit db4949e

Browse files
authored
docs: fix typo in ES modules article (#1830)
1 parent c62ca89 commit db4949e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/going-buildless/es-modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Popular collections of forks are [@esm-bundle](https://github.com/esm-bundle/) a
154154
155155
### Create a UMD wrapper
156156
157-
UMD modules are "universal modules", meaning they support multiple module formats in a single file. It's quite an old standard, and it doesn't support standard es modules, so it's not quite "universal" anymore. However, many libraries ship a UMD version where the library and it's dependencies are bundled into a single file. It's been the way to ship code for the browser for a long time.
157+
UMD modules are "universal modules", meaning they support multiple module formats in a single file. It's quite an old standard, and it doesn't support standard es modules, so it's not quite "universal" anymore. However, many libraries ship a UMD version where the library and its dependencies are bundled into a single file. It's been the way to ship code for the browser for a long time.
158158
159159
You can actually import these libraries using a module import, but instead of exporting something, the UMD module will register itself to the window. You can set up a proxy file to reexport this variable from the window.
160160

0 commit comments

Comments
 (0)