Skip to content

Commit 12473b6

Browse files
authored
docs: fix typos in README.md (#465)
1 parent a5f3c73 commit 12473b6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type sources =
9696

9797
Default: `true`
9898

99-
By default every loadable attributes (for example - `<img src="image.png">`) is imported (`const img = require('./image.png')` or `import img from "./image.png""`).
99+
By default every loadable attribute (for example - `<img src="image.png">`) is imported (`const img = require('./image.png')` or `import img from "./image.png""`).
100100
You may need to specify loaders for images in your configuration (recommended [`asset modules`](https://webpack.js.org/guides/asset-modules/)).
101101

102102
Supported tags and attributes:
@@ -126,7 +126,7 @@ Supported tags and attributes:
126126

127127
#### `boolean`
128128

129-
The `true` value enables processing of all default elements and attributes, the `false` disable processing of all attributes.
129+
The `true` value enables the processing of all default elements and attributes, the `false` value disables the processing of all attributes.
130130

131131
**webpack.config.js**
132132

@@ -149,7 +149,7 @@ module.exports = {
149149

150150
#### `object`
151151

152-
Allows you to specify which tags and attributes to process, filter them, filter urls and process sources starts with `/`.
152+
Allows you to specify which tags and attributes to process, filter them, filter urls and process sources starting with `/`.
153153

154154
For example:
155155

@@ -217,7 +217,7 @@ type list = Array<{
217217

218218
Default: [supported tags and attributes](#sources).
219219

220-
Allows to setup which tags and attributes to process and how, and the ability to filter some of them.
220+
Allows to setup which tags and attributes to process and how, as well as the ability to filter some of them.
221221

222222
Using `...` syntax allows you to extend [default supported tags and attributes](#sources).
223223

@@ -418,7 +418,7 @@ type urlFilter = (
418418
Default: `undefined`
419419

420420
Allow to filter urls. All filtered urls will not be resolved (left in the code as they were written).
421-
All non requestable sources (for example `<img src="javascript:void(0)">`) do not handle by default.
421+
Non-requestable sources (for example `<img src="javascript:void(0)">`) are not handled by default.
422422

423423
```js
424424
module.exports = {
@@ -719,7 +719,7 @@ type esModule = boolean;
719719
Default: `true`
720720

721721
By default, `html-loader` generates JS modules that use the ES modules syntax.
722-
There are some cases in which using ES modules is beneficial, like in the case of [module concatenation](https://webpack.js.org/plugins/module-concatenation-plugin/) and [tree shaking](https://webpack.js.org/guides/tree-shaking/).
722+
There are some cases in which using ES modules is beneficial, such as [module concatenation](https://webpack.js.org/plugins/module-concatenation-plugin/) and [tree shaking](https://webpack.js.org/guides/tree-shaking/).
723723

724724
You can enable a CommonJS modules syntax using:
725725

@@ -745,7 +745,7 @@ module.exports = {
745745

746746
### Disable url resolving using the `<!-- webpackIgnore: true -->` comment
747747

748-
With `<!-- webpackIgnore: true -->` comment, can to disable sources handling for next tag.
748+
With `<!-- webpackIgnore: true -->` comment, one can disable sources handling for next tag.
749749

750750
```html
751751
<!-- Disabled url handling for the src attribute -->
@@ -771,7 +771,7 @@ With `<!-- webpackIgnore: true -->` comment, can to disable sources handling for
771771

772772
### roots
773773

774-
With [`resolve.roots`](https://webpack.js.org/configuration/resolve/#resolveroots) can specify a list of directories where requests of server-relative URLs (starting with '/') are resolved.
774+
With [`resolve.roots`](https://webpack.js.org/configuration/resolve/#resolveroots) one can specify a list of directories where requests of server-relative URLs (starting with '/') are resolved.
775775

776776
**webpack.config.js**
777777

0 commit comments

Comments
 (0)