Update template-option.md (#590)

This commit is contained in:
Cristian Leyes 2017-02-13 05:38:56 -03:00 committed by Jan Nicklas
parent 5a764334c0
commit b8fd1427bc
1 changed files with 3 additions and 3 deletions

View File

@ -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: [