webpack/webpack.js.org

HMR write manifest to disk

Open

#2.853 geöffnet am 8. März 2019

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)MDX (3.436 Forks)github user discovery
ConceptsHelp Wanted

Repository-Metriken

Stars
 (2.268 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Feature to document

How to write the webpack manifest to disk while using HMR.

Author(s)

N/A

Additional information

According to the documentation it is possible to write the manifest to disk while using hot module replacement. It does not explain anything about how to do this though.

Please update the documentation to show how this can be done.

https://webpack.js.org/concepts/hot-module-replacement/#in-the-compiler

The compiler ensures that module IDs and chunk IDs are consistent between these builds. It typically stores these IDs in memory (e.g. with webpack-dev-server), but it's also possible to store them in a JSON file.

Contributor Guide