Skip to content

Commit 6f78590

Browse files
bhavya9107EugeneHlushko
authored andcommitted
fix(configuration): correcting grammar (#2781)
1 parent ed00e58 commit 6f78590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/configuration/externals.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ contributors:
1212

1313
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.
1414

15-
T> __consumer__ here is any end user application that includes the library that you have bundled using webpack.
15+
T> __consumer__ here is any end-user application that includes the library that you have bundled using webpack.
1616

1717

1818
## `externals`
@@ -117,7 +117,7 @@ This syntax is used to describe all the possible ways that an external library c
117117

118118
### function
119119

120-
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.
120+
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.
121121

122122
It basically comes down to this:
123123

@@ -149,7 +149,7 @@ module.exports = {
149149
};
150150
```
151151

152-
In this case any dependency named `jQuery`, capitalized or not, or `$` would be externalized.
152+
In this case, any dependency named `jQuery`, capitalized or not, or `$` would be externalized.
153153

154154
### Combining syntaxes
155155

0 commit comments

Comments
 (0)