Skip to content

Commit 4405fee

Browse files
tbroadleyskipjack
authored andcommitted
docs: fix typos
1 parent 1c17320 commit 4405fee

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

src/content/api/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Parameter | Explanation | Input
150150
`--output-filename` | The output filename of the bundle | string | [name].js
151151
`--output-jsonp-function` | The name of the JSONP function used for chunk loading | string | webpackJsonp
152152
`--output-library` | Expose the exports of the entry point as library | string |
153-
`--output-library-target` | The type for exposing the exports of the entry,point as library | string | var
153+
`--output-library-target` | The type for exposing the exports of the entry point as library | string | var
154154
`--output-path` | The output path for compilation assets | string | Current directory
155155
`--output-pathinfo` | Include a comment with the request for every dependency | boolean | false
156156
`--output-public-path` | The public path for the assets | string | /
@@ -238,7 +238,7 @@ These allow you to configure the webpack [resolver](/configuration/resolve/) wit
238238
Parameter | Explanation | Example
239239
---------------------- | ------------------------------------------------------- | -------------
240240
--resolve-alias | Setup a module alias for resolving | --resolve-alias jquery-plugin=jquery.plugin
241-
--resolve-extensions | Setup extensions that should be used to resolve,modules | --resolve-extensions .es6 .js .ts
241+
--resolve-extensions | Setup extensions that should be used to resolve modules | --resolve-extensions .es6 .js .ts
242242
--resolve-loader-alias | Minimize javascript and switches loaders to minimizing |
243243

244244

src/content/api/hot-module-replacement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The optional `options` object can include the following properties:
117117

118118
- `ignoreUnaccepted` (boolean): Ignore changes made to unaccepted modules.
119119
- `ignoreDeclined` (boolean): Ignore changes made to declined modules.
120-
- `ignoreErrored` (boolean): Ignore errors throw in accept handlers, error handlers and while reevaulating module.
120+
- `ignoreErrored` (boolean): Ignore errors throw in accept handlers, error handlers and while reevaluating module.
121121
- `onDeclined` (function(info)): Notifier for declined modules
122122
- `onUnaccepted` (function(info)): Notifier for unaccepted modules
123123
- `onAccepted` (function(info)): Notifier for accepted modules

src/content/api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ When processing modules with webpack, it is important to understand the differen
2222

2323
## Node
2424

25-
While most users can get away with just using the CLI along with a configuration file, more fine-grained control of the compilation can be achieved via the Node interface. This includes passing multiple configurations, programatically running or watching, and collecting stats.
25+
While most users can get away with just using the CLI along with a configuration file, more fine-grained control of the compilation can be achieved via the Node interface. This includes passing multiple configurations, programmatically running or watching, and collecting stats.
2626

2727
[Learn more!](/api/node)
2828

2929

3030
## Loaders
3131

32-
Loaders are transformations that are applied to the source code of a module. They are written as functions that accept source code as a parameter and return a new version of that code with tranformations applied.
32+
Loaders are transformations that are applied to the source code of a module. They are written as functions that accept source code as a parameter and return a new version of that code with transformations applied.
3333

3434
[Learn more!](/api/loaders)
3535

src/content/api/loaders.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ this.callback(
210210

211211
T> It can be useful to pass an abstract syntax tree (AST), like [`ESTree`](https://github.com/estree/estree), as the fourth argument (`meta`) to speed up the build time if you want to share common ASTs between loaders.
212212

213-
In case this function is called, you should return undefined to avoid ambigious loader results.
213+
In case this function is called, you should return undefined to avoid ambiguous loader results.
214214

215215

216216
### `this.async`
@@ -391,7 +391,7 @@ Access to the `compilation`'s `inputFileSystem` property.
391391
392392
## Deprecated context properties
393393
394-
W> The usage of these properties is highly discouraged since we are planing to remove them from the context. They are still listed here for documentation purposes.
394+
W> The usage of these properties is highly discouraged since we are planning to remove them from the context. They are still listed here for documentation purposes.
395395
396396
397397
### `this.exec`

src/content/api/module-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ W> This CANNOT be used in an asynchronous function.
5050

5151
### `exports` (CommonJS)
5252

53-
This variable is equal ot default value of `module.exports` (i.e. an object). If `module.exports` gets overwritten, `exports` will no longer be exported.
53+
This variable is equal to default value of `module.exports` (i.e. an object). If `module.exports` gets overwritten, `exports` will no longer be exported.
5454

5555
``` javascript
5656
exports.someValue = 42;

src/content/configuration/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This feature was inspired by the idea of [webpack Performance Budgets](https://g
1212

1313
`object`
1414

15-
Configure how performance hints are shown. For example if you have an asset that is over 250kb, webpack will emit a warning notifiying you of this.
15+
Configure how performance hints are shown. For example if you have an asset that is over 250kb, webpack will emit a warning notifying you of this.
1616

1717

1818
## `performance.hints`

src/content/configuration/resolve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ With an absolute path, it will only search in the given directory.
216216
modules: ["node_modules"]
217217
```
218218

219-
If you want to add a directory to search in that takes precedences over `node_modules/`:
219+
If you want to add a directory to search in that takes precedence over `node_modules/`:
220220

221221
``` js
222222
modules: [path.resolve(__dirname, "src"), "node_modules"]

src/content/configuration/target.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ webpack can compile for multiple environments or _targets_. To understand what a
1515

1616
`string | function(compiler)`
1717

18-
Intructs webpack to target a specific environment.
18+
Instructs webpack to target a specific environment.
1919

2020

2121
### `string`

src/content/contribute/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ On top of that, the official [analyze tool](https://github.com/webpack/analyse)
3636

3737
While [`console`](https://nodejs.org/api/console.html) statements may work well in simpler scenarios, sometimes a more robust solution is needed. As most front-end developers already know, Chrome DevTools are a life saver when debugging web applications, _but they don’t have to stop there_. As of Node v6.3.0+, developers can use the built-in `--inspect` flag to debug a node program in DevTools.
3838

39-
This gives you the power to easily create breakpoints, debug memory usage, expose and examine objects in the console, and much more. In this short demo, we'll utilize the [`node-nightly`](https://github.com/hemanth/node-nightly) package which provides access to the latest and greatest inpecting capabilites.
39+
This gives you the power to easily create breakpoints, debug memory usage, expose and examine objects in the console, and much more. In this short demo, we'll utilize the [`node-nightly`](https://github.com/hemanth/node-nightly) package which provides access to the latest and greatest inspecting capabilities.
4040

4141
W> The `--inspect` interface has been available since v6.3.0 so feel to try it out with your local version, but be warned that certain features and flags may differ from the ones in this demo.
4242

src/content/contribute/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Anybody can help by doing any of the following:
3434

3535
### Encouraging Employers
3636

37-
You can ask your employer to improve your workflow by leveraging webpack: an all-in-one tool for fonts, images and image optimiziation, and json. Explain to them how webpack will attempt to bundle your code and assets the best it can for the smallest file size, leading to speedier sites and applications.
37+
You can ask your employer to improve your workflow by leveraging webpack: an all-in-one tool for fonts, images and image optimization, and json. Explain to them how webpack will attempt to bundle your code and assets the best it can for the smallest file size, leading to speedier sites and applications.
3838

3939
### Your Contributions
4040

0 commit comments

Comments
 (0)