Skip to content

Commit

Permalink
docs(plugins): finish documenting the available options for the HotMo…
Browse files Browse the repository at this point in the history
…duleReplacementPlugin
  • Loading branch information
skipjack committed Jun 3, 2017
1 parent 8756048 commit 89c4cf3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/plugins/hot-module-replacement-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Enabling HMR is easy and in most cases no options are necessary.

``` javascript
new webpack.HotModuleReplacementPlugin({
// Options...
// Options...
})
```

Expand All @@ -29,5 +29,7 @@ new webpack.HotModuleReplacementPlugin({

The following options are accepted:

- `multiStep` (?): TODO...
- `fullBuildTimeout` (number): TODO...
- `multiStep` (boolean): If `true`, the plugin will build in two steps -- first compiling the hot update chunks, and then the remaining normal assets.
- `fullBuildTimeout` (number): The delay between the two steps when `multiStep` is enabled.

W> These options are experimental and may be deprecated. As mentioned above, they are typically not necessary and including a `new webpack.HotModuleReplacementPlugin()` is enough.

0 comments on commit 89c4cf3

Please sign in to comment.