webpack.js.org
webpack.js.org copied to clipboard
Documentation incomplete or links missing for new ChunkGraph APIs
Hi,
I'm trying to figure out the deprecation warnings for ChunkGraph API (https://webpack.js.org/blog/2020-10-10-webpack-5-release/#other-minor-changes & https://webpack.js.org/blog/2020-10-10-webpack-5-release/#module-and-chunk-graph). It extremely hard to find the documentation for these new APIs:
- the documentation does not return any usable results for the terms
ChunkGraph
andModuleGraph
, nor has the release blog post any link to the new APIs or its replacements - the deprecation messages don't contain a link or any useful info
In my particular case the deprecation messages are:
-
[DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE] DeprecationWarning: Chunk.hasEntryModule
-
[DEP_WEBPACK_MODULE_INDEX] DeprecationWarning: Module.index
For maintainers only:
- [ ] webpack-4
- [ ] webpack-5
- [ ] bug
- [ ] critical-bug
- [ ] enhancement
- [ ] documentation
- [ ] performance
- [ ] dependencies
- [ ] question