Skip to content

Commit

Permalink
Update README to document actual behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswatsonv authored and jantimon committed Jun 20, 2021
1 parent 0a6568d commit 0e4c1fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -95,7 +95,7 @@ The `html-webpack-plugin` provides [hooks](https://github.com/jantimon/html-webp
<h2 align="center">Usage</h2>

The plugin will generate an HTML5 file for you that includes all your `webpack`
bundles in the body using `script` tags. Just add the plugin to your `webpack`
bundles in the head using `script` tags. Just add the plugin to your `webpack`
config as follows:

**webpack.config.js**
Expand All @@ -122,9 +122,9 @@ This will generate a file `dist/index.html` containing the following
<head>
<meta charset="utf-8">
<title>Webpack App</title>
<script defer src="index_bundle.js"></script>
</head>
<body>
<script src="index_bundle.js"></script>
</body>
</html>
```
Expand Down

0 comments on commit 0e4c1fb

Please sign in to comment.