Skip to content

Commit

Permalink
feat: Use webpack 4 entries api to extract asset information
Browse files Browse the repository at this point in the history
BREAKING CHANGES: Pass the entry point names to the custom sort function instead of chunk objects. Removed the alter`htmlWebpackPluginAlterChunks` hook. Changed the structure of the `assets` argument for all hooks.
  • Loading branch information
jantimon committed May 22, 2018
1 parent 9bc238c commit be958c5
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 253 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,6 @@ plugins: [

To allow other [plugins](https://github.com/webpack/docs/wiki/plugins) to alter the HTML this plugin executes the following events:

#### `SyncWaterfallHook`

* `htmlWebpackPluginAlterChunks`

#### `AsyncSeriesWaterfallHook`

* `htmlWebpackPluginBeforeHtmlGeneration`
Expand Down

0 comments on commit be958c5

Please sign in to comment.