You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webpack concatenates ES modules if possible in production mode, and gives them identifiers of form javascript/esm|<path>. The current version of license-webpack-plugin does not handle identifiers of this form:
Note: in addition to the workaround listed in the linked repository: webpack v4 and v5 also support an optimization.concatenateModules option that can be disabled and should allow affected licenses to be (re)discovered as expected.
Hello, thank you for this useful plugin.
license-webpack-plugin does not extract licenses of ES modules included in module concatenation with the latest version of webpack 5. The repository to reproduce this issue is here: https://github.com/iorate/license-webpack-plugin-concatenated-modules
webpack concatenates ES modules if possible in production mode, and gives them identifiers of form
javascript/esm|<path>
. The current version of license-webpack-plugin does not handle identifiers of this form:license-webpack-plugin/src/WebpackModuleFileIterator.ts
Lines 36 to 69 in 185efbc
... and does not emit licenses of modules with such identifiers.
Versions
node.js 16.13.2
webpack 5.66.0
license-webpack-plugin 4.0.0
The text was updated successfully, but these errors were encountered: