webpack.js.org
webpack.js.org copied to clipboard
Missing documentation about the changes in the webpack-5 plugin development
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.