Skip to content

Commit

Permalink
Merge pull request #691 from rongierlach/patch-1
Browse files Browse the repository at this point in the history
Update externals.md
  • Loading branch information
bebraw authored Jan 21, 2017
2 parents 08e2037 + dfefd80 commit 70312e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/configuration/externals.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Your bundle which has external dependencies can be used in various module contex

* __global__ - An external library can be available as a global variable. The consumer can achieve this by including the external library in a script tag. This is the default setting for externals.
* __commonjs__ - The consumer application may be using a CommonJS module system and hence the external library should be available as a CommonJS module.
* __commonjs2__ - Similar to the above line but where the export is `module.exports.default`.
* __amd__ - Similar to the above line but using AMD module system.

`externals` accepts various syntax and interprets them in different manners.
Expand Down Expand Up @@ -98,4 +99,4 @@ This syntax is used to describe all the possible ways that an external library c

?> TODO - I think its overkill to list externals as regex.

For more information on how to use this configuration, please refer to the article on [how to author a library](/guides/author-libraries).
For more information on how to use this configuration, please refer to the article on [how to author a library](/guides/author-libraries).

0 comments on commit 70312e8

Please sign in to comment.