Closed paradite closed 3 years ago
webpack 5 moved some stuff around: https://webpack.js.org/blog/2020-10-10-webpack-5-release/#module-and-chunk-graph
specifically:
module.providedExports
compilation.chunkGraph.moduleGraph.getProvidedExports(module)
module.usedExports
compilation.chunkGraph.moduleGraph.getUsedExports(module, runtime)
null | boolean | SortableSet<string>
Array
Hi @MQuy, since this is merged, can we have a new npm version release as well? Thanks.
webpack 5 moved some stuff around: https://webpack.js.org/blog/2020-10-10-webpack-5-release/#module-and-chunk-graph
specifically:
module.providedExports
->compilation.chunkGraph.moduleGraph.getProvidedExports(module)
module.usedExports
->compilation.chunkGraph.moduleGraph.getUsedExports(module, runtime)
null | boolean | SortableSet<string>
(no longerArray
)