Skip to content

Commit 6e17a0c

Browse files
authored
docs: fix typos (#1474)
1 parent 85accfa commit 6e17a0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/template-option.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Please note that this loader does not support the full ejs syntax as it is based
3232
}
3333
```
3434

35-
Be aware, using `.html` as your template extention may unexpectedly trigger another loader.
35+
Be aware, using `.html` as your template extension may unexpectedly trigger another loader.
3636

3737
## 2) Setting a loader directly for the template
3838

@@ -43,12 +43,12 @@ new HtmlWebpackPlugin({
4343
})
4444
```
4545

46-
## 3) Setting a loader using the `module.loaders` syntax
46+
## 3) Setting a loader using the `module.rules` syntax
4747

4848
```js
4949
{
5050
module: {
51-
loaders: [
51+
rules: [
5252
{
5353
test: /\.hbs$/,
5454
loader: 'handlebars-loader'
@@ -69,7 +69,7 @@ This will **cause html minification** and it will also **disable the ejs/lodash
6969
```js
7070
{
7171
module: {
72-
loaders: [
72+
rules: [
7373
{
7474
test: /\.html$/,
7575
loader: 'html-loader'

0 commit comments

Comments
 (0)