Skip to content

Commit

Permalink
fix(README): adds a link to template option documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
panstav authored and jantimon committed Nov 12, 2018
1 parent e56e9cf commit f40aeae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,13 @@ your own template. The easiest way is to use the `template` option and pass a cu
The html-webpack-plugin will automatically inject all necessary CSS, JS, manifest
and favicon files into the markup.

Details of other template loaders are [documented here](https://github.com/jantimon/html-webpack-plugin/blob/master/docs/template-option.md).

```js
plugins: [
new HtmlWebpackPlugin({
title: 'Custom template',
// Load a custom template (lodash by default see the FAQ for details)
// Load a custom template (lodash by default)
template: 'index.html'
})
]
Expand Down

0 comments on commit f40aeae

Please sign in to comment.