diff --git a/README.md b/README.md index e82a348..eb6779a 100644 --- a/README.md +++ b/README.md @@ -122,13 +122,15 @@ and favicon files into the markup. ```javascript plugins: [ new HtmlWebpackPlugin({ - inject: true, - template: 'my-index.html', - title: 'Custom template', + title: 'Custom template', + template: 'my-index.html', // Load a custom template + inject: 'body' // Inject all scripts into the body }) ] ``` +`my-index.html`: + ```html