Skip to content

Commit c2941e6

Browse files
committed
docs(plugins): finish documenting the available options for the HotModuleReplacementPlugin
1 parent e9867fe commit c2941e6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/plugins/hot-module-replacement-plugin.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Enabling HMR is easy and in most cases no options are necessary.
2020

2121
``` javascript
2222
new webpack.HotModuleReplacementPlugin({
23-
// Options...
23+
// Options...
2424
})
2525
```
2626

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

3030
The following options are accepted:
3131

32-
- `multiStep` (?): TODO...
33-
- `fullBuildTimeout` (number): TODO...
32+
- `multiStep` (boolean): If `true`, the plugin will build in two steps -- first compiling the hot update chunks, and then the remaining normal assets.
33+
- `fullBuildTimeout` (number): The delay between the two steps when `multiStep` is enabled.
34+
35+
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 commit comments

Comments
 (0)