Update README.md

This commit is contained in:
Jan Nicklas 2016-05-03 08:43:08 +02:00
parent 3e751b7046
commit a252bca92c
1 changed files with 3 additions and 4 deletions

View File

@ -94,8 +94,7 @@ Here's an example webpack config illustrating how to use these options:
entry: 'index.js',
output: {
path: 'dist',
filename: 'index_bundle.js',
hash: true
filename: 'index_bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
@ -138,8 +137,8 @@ and favicon files into the markup.
plugins: [
new HtmlWebpackPlugin({
title: 'Custom template',
template: 'my-index.ejs', // Load a custom template
inject: 'body' // Inject all scripts into the body
template: 'my-index.ejs', // Load a custom template (ejs by default but can be changed)
inject: 'body' // Inject all scripts into the body (this is the default so you can skip it)
})
]
```