diff --git a/src/content/configuration/externals.md b/src/content/configuration/externals.md index 33e70000fd03..996783a34d0d 100644 --- a/src/content/configuration/externals.md +++ b/src/content/configuration/externals.md @@ -12,7 +12,7 @@ contributors: The `externals` configuration option provides a way of excluding dependencies from the output bundles. Instead, the created bundle relies on that dependency to be present in the consumer's environment. This feature is typically most useful to __library developers__, however there are a variety of applications for it. -T> __consumer__ here is any end user application that includes the library that you have bundled using webpack. +T> __consumer__ here is any end-user application that includes the library that you have bundled using webpack. ## `externals` @@ -117,7 +117,7 @@ This syntax is used to describe all the possible ways that an external library c ### function -It might be useful to define your own function to control the behavior of what you want to externalize from webpack. [webpack-node-externals](https://www.npmjs.com/package/webpack-node-externals), for example, excludes all modules from the `node_modules` directory and provides some options to, for example, whitelist packages. +It might be useful to define your own function to control the behavior of what you want to externalize from webpack. [webpack-node-externals](https://www.npmjs.com/package/webpack-node-externals), for example, excludes all modules from the `node_modules` directory and provides some options too, for example, whitelist packages. It basically comes down to this: @@ -149,7 +149,7 @@ module.exports = { }; ``` -In this case any dependency named `jQuery`, capitalized or not, or `$` would be externalized. +In this case, any dependency named `jQuery`, capitalized or not, or `$` would be externalized. ### Combining syntaxes