Skip to content

Commit e733a42

Browse files
committed
Merge pull request webpack#1097 from kennyt/typo-fix
Typo fixes in README and template.md
2 parents 3b0f9c7 + 5ea5866 commit e733a42

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ MIT (http://www.opensource.org/licenses/mit-license.php)
244244
* @medikoo for [modules-webmake](https://github.com/medikoo/modules-webmake), which is a simlar project. webpack was born because I wanted Code Splitting for modules-webpack. Interestingly the [Code Splitting issue is still open](https://github.com/medikoo/modules-webmake/issues/7) (thanks also to @Phoscur for the discussion).
245245
* @substack for [browserify](http://browserify.org/), which is a similar project and source for many ideas.
246246
* @jrburke for [require.js](http://requirejs.org/), which is a similar project and source for many ideas.
247-
* @defunctzombie for the [browser-field spec](https://gist.github.com/defunctzombie/4339901), which is makes modules available for node.js, browserify and webpack.
247+
* @defunctzombie for the [browser-field spec](https://gist.github.com/defunctzombie/4339901), which makes modules available for node.js, browserify and webpack.
248248
* Every early webpack user, which contributed to webpack by writing issues or PRs. You influenced the direction...
249249
* @shama, @jhnns and @sokra for maintaining this project
250250
* Everyone who has written a loader for webpack. You are the ecosystem...

examples/commonjs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
This very simple example shows usage of CommonsJS.
1+
This very simple example shows usage of CommonJS.
22

33
The three files `example.js`, `increment.js` and `math.js` form a dependency chain. They use `require(dependency)` to declare dependencies.
44

5-
You can see the output file that webpack creates by bundling them together in one file. Keep in mind that webpack adds comments to make reading this file easier. These commonent are removed when minimizing the file.
5+
You can see the output file that webpack creates by bundling them together in one file. Keep in mind that webpack adds comments to make reading this file easier. These comments are removed when minimizing the file.
66

77
You can also see the info messages webpack prints to console (for both normal and minimized build).
88

examples/commonjs/template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
This very simple example shows usage of CommonsJS.
1+
This very simple example shows usage of CommonJS.
22

33
The three files `example.js`, `increment.js` and `math.js` form a dependency chain. They use `require(dependency)` to declare dependencies.
44

5-
You can see the output file that webpack creates by bundling them together in one file. Keep in mind that webpack adds comments to make reading this file easier. These commonent are removed when minimizing the file.
5+
You can see the output file that webpack creates by bundling them together in one file. Keep in mind that webpack adds comments to make reading this file easier. These comments are removed when minimizing the file.
66

77
You can also see the info messages webpack prints to console (for both normal and minimized build).
88

examples/externals/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
This example demonstrate how to build a library with webpack that has dependencies to other libraries which should not be included in the compiled version.
1+
This example demonstrates how to build a library with webpack that has dependencies to other libraries which should not be included in the compiled version.
22

33
We use the `libraryTarget: "umd"` option to build a UMD module that is consumable in CommonJs, AMD and with script tags. We don't specify the `library` option so the library is exported to the root namespace.
44

55
We use the `externals` option to define dependencies that should be resolved in the target environment.
66

7-
In the simple case we just need to specify a string (`"add"`). Than it's resolved as `"add"` module in CommonJs and AMD, and as global `add` when used with script tag.
7+
In the simple case we just need to specify a string (`"add"`). Then it's resolved as `"add"` module in CommonJs and AMD, and as global `add` when used with script tag.
88

99
In the complex case we specify different values for each environment:
1010

examples/externals/template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
This example demonstrate how to build a library with webpack that has dependencies to other libraries which should not be included in the compiled version.
1+
This example demonstrates how to build a library with webpack that has dependencies to other libraries which should not be included in the compiled version.
22

33
We use the `libraryTarget: "umd"` option to build a UMD module that is consumable in CommonJs, AMD and with script tags. We don't specify the `library` option so the library is exported to the root namespace.
44

55
We use the `externals` option to define dependencies that should be resolved in the target environment.
66

7-
In the simple case we just need to specify a string (`"add"`). Than it's resolved as `"add"` module in CommonJs and AMD, and as global `add` when used with script tag.
7+
In the simple case we just need to specify a string (`"add"`). Then it's resolved as `"add"` module in CommonJs and AMD, and as global `add` when used with script tag.
88

99
In the complex case we specify different values for each environment:
1010

0 commit comments

Comments
 (0)