Skip to content

Commit b9bacc2

Browse files
committed
docs: update readme withcorrect version ranges
1 parent 4073291 commit b9bacc2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,14 @@ Install the plugin with `npm`:
1818
$ npm i add-asset-html-webpack-plugin -D
1919
```
2020

21-
NOTE: This plugin requires `html-webpack-plugin@^2.10.0`.
22-
23-
## Migrating to webpack 4+
24-
25-
After webpack 4+, it is required to apply `AddAssetHtmlPlugin` after
26-
`HtmlWebpackPlugin` to register `html-webpack-plugin-before-html-generation`
27-
hook which is used inside first, while previous versions of webpack do not care
28-
about it.
21+
NOTE: This plugin requires `html-webpack-plugin@^3`, `html-webpack-plugin@^4`,
22+
or `html-webpack-plugin@^5`.
2923

3024
## Basic Usage
3125

3226
The plugin will add the given JS or CSS file to the files Webpack knows about,
3327
and put it into the list of assets `html-webpack-plugin` injects into the
34-
generated html. Add the plugin the your config, providing it a filepath:
28+
generated html. Add the plugin to your config, providing it a filepath:
3529

3630
```js
3731
const HtmlWebpackPlugin = require('html-webpack-plugin');

0 commit comments

Comments
 (0)