Skip to content

Commit 0e4c1fb

Browse files
jameswatsonvjantimon
authored andcommitted
Update README to document actual behavior
1 parent 0a6568d commit 0e4c1fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The `html-webpack-plugin` provides [hooks](https://github.com/jantimon/html-webp
9595
<h2 align="center">Usage</h2>
9696

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

101101
**webpack.config.js**
@@ -122,9 +122,9 @@ This will generate a file `dist/index.html` containing the following
122122
<head>
123123
<meta charset="utf-8">
124124
<title>Webpack App</title>
125+
<script defer src="index_bundle.js"></script>
125126
</head>
126127
<body>
127-
<script src="index_bundle.js"></script>
128128
</body>
129129
</html>
130130
```

0 commit comments

Comments
 (0)