Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More modules than dependencies #66

Closed
omerson opened this issue Nov 4, 2019 · 1 comment
Closed

More modules than dependencies #66

omerson opened this issue Nov 4, 2019 · 1 comment

Comments

@omerson
Copy link

omerson commented Nov 4, 2019

Method renderLicenses loads all the dependencies modules plus a few more:

is-buffer
process
setimmediate
timers-browserify
vue-loader
vue-style-loader
base64-js
buffer
ieee754
isarray
moment

I am interested to know what is logic behind this? How does it take some of the transitive dependencies and not all?

@xz64
Copy link
Owner

xz64 commented Nov 5, 2019

It's just pulling whatever webpack said was in the build. Some of these libraries inject small snippets into your bundle or were used to transform code. You can use the excludedPackageTest option ( https://github.com/xz64/license-webpack-plugin/blob/master/DOCUMENTATION.md ) to remove these if you want.

@xz64 xz64 closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants