webpack.js.org icon indicating copy to clipboard operation
webpack.js.org copied to clipboard

Documentation incomplete or links missing for new ChunkGraph APIs

Open aaarichter opened this issue 4 years ago • 1 comments

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 and ModuleGraph, 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

aaarichter avatar Jan 10 '21 16:01 aaarichter

For maintainers only:

  • [ ] webpack-4
  • [ ] webpack-5
  • [ ] bug
  • [ ] critical-bug
  • [ ] enhancement
  • [ ] documentation
  • [ ] performance
  • [ ] dependencies
  • [ ] question

webpack-bot avatar Jan 10 '21 16:01 webpack-bot