You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/multi-part-library/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ We are using multiple entry points (`entry` option) to build every part of the l
6
6
7
7
We are using the `libraryTarget` option to generate a UMD ([Universal Module Definition](https://github.com/umdjs/umd)) module that is consumable in CommonsJs, AMD and with script tags. The `library` option defines the namespace. We are using `[name]` in the `library` option to give every entry a different namespace.
8
8
9
-
You can see that webpack automatically wraps your module so that it is consumable in every enviroment. All you need is this simple config.
9
+
You can see that webpack automatically wraps your module so that it is consumable in every environment. All you need is this simple config.
10
10
11
11
Note: You can also use the `library` and `libraryTarget` options without multiple entry points. Then you don't need `[name]`.
Copy file name to clipboardExpand all lines: examples/multi-part-library/template.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ We are using multiple entry points (`entry` option) to build every part of the l
6
6
7
7
We are using the `libraryTarget` option to generate a UMD ([Universal Module Definition](https://github.com/umdjs/umd)) module that is consumable in CommonsJs, AMD and with script tags. The `library` option defines the namespace. We are using `[name]` in the `library` option to give every entry a different namespace.
8
8
9
-
You can see that webpack automatically wraps your module so that it is consumable in every enviroment. All you need is this simple config.
9
+
You can see that webpack automatically wraps your module so that it is consumable in every environment. All you need is this simple config.
10
10
11
11
Note: You can also use the `library` and `libraryTarget` options without multiple entry points. Then you don't need `[name]`.
0 commit comments