Update template-option.md (#590)
This commit is contained in:
parent
5a764334c0
commit
b8fd1427bc
|
|
@ -38,7 +38,7 @@ new HtmlWebpackPlugin({
|
|||
loaders: [
|
||||
{
|
||||
test: /\.hbs$/,
|
||||
loader: 'handlebars'
|
||||
loader: 'handlebars-loader'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
|
@ -50,7 +50,7 @@ new HtmlWebpackPlugin({
|
|||
}
|
||||
```
|
||||
|
||||
However this also means that in the following example webpack will use the html loader for your template.
|
||||
However this also means that in the following example webpack will use the [html loader for your template](https://webpack.js.org/loaders/html-loader/).
|
||||
This will **cause html minification** and it will also **disable the ejs fallback** loader.
|
||||
|
||||
```js
|
||||
|
|
@ -59,7 +59,7 @@ This will **cause html minification** and it will also **disable the ejs fallbac
|
|||
loaders: [
|
||||
{
|
||||
test: /\.html$/,
|
||||
loader: 'html'
|
||||
loader: 'html-loader'
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue