Skip to content

Commit 0dd0fca

Browse files
committed
Clarify module/chunk ID storage in HMR
1 parent 6afbe99 commit 0dd0fca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/concepts/hot-module-replacement.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ consists of two parts:
3636
The manifest contains the new compilation hash and a list of all update chunks.
3737

3838
Each update chunk contains code for all updated modules in the respective chunk
39-
(or a flag if a module was removed).
39+
(or a flag indicating that the module was removed).
4040

41-
The compiler addtionally makes sure that module IDs and chunk IDs are consistent
42-
between these builds. It stores these IDs in a "records" JSON file or in memory.
41+
The compiler makes sure that module IDs and chunk IDs are consistent
42+
between these builds. It typically stores these IDs in memory (for example, when
43+
using [webpack-dev-server](/configuration/dev-server/)), but it's also possible to
44+
store them in a JSON file.
4345

4446
### From The Module View
4547

0 commit comments

Comments
 (0)