From 6e17a0cd7e99c08fdf6eb6e79b88f589af35c645 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Mon, 29 Jun 2020 02:19:30 +0800 Subject: [PATCH] docs: fix typos (#1474) --- docs/template-option.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/template-option.md b/docs/template-option.md index f4e5423a..68ca59b3 100644 --- a/docs/template-option.md +++ b/docs/template-option.md @@ -32,7 +32,7 @@ Please note that this loader does not support the full ejs syntax as it is based } ``` -Be aware, using `.html` as your template extention may unexpectedly trigger another loader. +Be aware, using `.html` as your template extension may unexpectedly trigger another loader. ## 2) Setting a loader directly for the template @@ -43,12 +43,12 @@ new HtmlWebpackPlugin({ }) ``` -## 3) Setting a loader using the `module.loaders` syntax +## 3) Setting a loader using the `module.rules` syntax ```js { module: { - loaders: [ + rules: [ { test: /\.hbs$/, loader: 'handlebars-loader' @@ -69,7 +69,7 @@ This will **cause html minification** and it will also **disable the ejs/lodash ```js { module: { - loaders: [ + rules: [ { test: /\.html$/, loader: 'html-loader'