Skip to content

Commit b00c7e6

Browse files
richardsimkoskipjack
authored andcommitted
docs(guides): revert changes from #1158 (#1362)
This tip is no longer necessary as webpack/webpack#4771 was fixed.
1 parent 8a2bc09 commit b00c7e6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/guides/author-libraries.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ module.exports = {
129129

130130
This means that your library expects a dependency named `lodash` to be available in the consumer's environment.
131131

132-
If your library targets UMD, it's important to add all of the above mentioned ways of loading the external (`commonjs`, `commonjs2`, `amd` and `root`) as leaving one out will cause strange errors for a consumer trying to load your library in that environment.
133-
134132
If you only plan on using your library as a dependency in another webpack bundle, you may specify externals as an array.
135133

136134
```javascript

0 commit comments

Comments
 (0)