xz64 / license-webpack-plugin

Outputs licenses from 3rd party libraries to a file
ISC License
165 stars 51 forks source link

incompatible with webpack 5.47.0 #106

Closed neelance closed 3 years ago

neelance commented 3 years ago

Starting with https://github.com/webpack/webpack/releases/tag/v5.47.0 the plugin throws the error TypeError: item.node is not a function.

I think this can be quickly resolved by upgrading the dependency webpack-sources to its latest version.

xz64 commented 3 years ago

Yes it does seem to work after upgrading webpack-sources. However I will need to drop support for webpack versions earlier than 5, so this will be a major change. I will update this issue once this is fixed

bryanchen-d commented 3 years ago

Hi @xz64 , any updates on this issue?

xz64 commented 3 years ago

Fixed in v3.0.0 (please note that even though this is a major version change, most builds don't need to change anything. I did not drop support for webpack versions earlier than 5)