Closed rpokorny closed 3 years ago
@deleonio let me know if this works for you.
I will check it soon
It works!
There is a slight difference. Which shouldn't be relevant because it can be traced back to Webpack.
NO DIFF webpack@^4
+ copy-modules-webpack-plugin@2.1.1
vs webpack@^4
+ copy-modules-webpack-plugin@PR22
(#22)
TINY DIFF webpack@^4
+ copy-modules-webpack-plugin@2.1.1
vs webpack@^5
+ copy-modules-webpack-plugin@PR22
(#22)
These changes have been published as version 2.2.0 of this plugin.
Add support for Webpack 5
This pull request makes the following changes:
compilation.fileDependencies
property rather thanmodule.fileDependencies
which doesn't appear to exist in webpack 5.includePackageJsons
in webpack 5Note that webpack 5 includes the relevant package.json files in its
fileDependencies
list automatically, avoiding the need for us to calculate it ourselves (and removing the value of theincludePackageJsons
flag.It relates to the following issue #s: