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

Missing documentation about the changes in the webpack-5 plugin development

Open vbartusevicius opened this issue 5 years ago • 0 comments

There is a plugin: https://github.com/mariusbalcytis/extract-file-loader/blob/master/Plugin.js - it's not webpack-5 compatible, but we want to make it one, sadly, there is no documentation about what should be used instead of deprecated or removed features:

  • [DEP_WEBPACK_CHUNK_MODULES_ITERABLE] DeprecationWarning: Chunk.modulesIterable: Use new ChunkGraph API
  • TypeError: Cannot read property 'some' of undefined at processModule (extract-file-loader/Plugin.js:30:28)

Webpack tells about ChunkGraph API or ModuleGraph API, but there is no documentation on how to migrate to it.

vbartusevicius avatar Oct 21 '20 15:10 vbartusevicius