Skip to content

fix(configuration): correcting grammar #2781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/content/configuration/externals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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:

Expand Down Expand Up @@ -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

Expand Down