File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Please note that this loader does not support the full ejs syntax as it is based
32
32
}
33
33
```
34
34
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.
36
36
37
37
## 2) Setting a loader directly for the template
38
38
@@ -43,12 +43,12 @@ new HtmlWebpackPlugin({
43
43
})
44
44
```
45
45
46
- ## 3) Setting a loader using the ` module.loaders ` syntax
46
+ ## 3) Setting a loader using the ` module.rules ` syntax
47
47
48
48
``` js
49
49
{
50
50
module: {
51
- loaders : [
51
+ rules : [
52
52
{
53
53
test: / \. hbs$ / ,
54
54
loader: ' handlebars-loader'
@@ -69,7 +69,7 @@ This will **cause html minification** and it will also **disable the ejs/lodash
69
69
``` js
70
70
{
71
71
module: {
72
- loaders : [
72
+ rules : [
73
73
{
74
74
test: / \. html$ / ,
75
75
loader: ' html-loader'
You can’t perform that action at this time.
0 commit comments