Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Support transient dependencies when bundling (whitelisting) node modules #186
What did you implement:
If you add a node module to the whitelist of
This PR fixes the issue, and adds all transient dependencies to the functions in case a node module is bundled.
How did you implement it:
The packager now fetches the dependency tree of the service by using
The existing handling for first level modules that are present in the package.json has not been changed, so for the existing uses nothing special should be expected.
I tested it thoroughly with a combination of bundling some node modules fetched from VCS (GIT) - this would be the most prominent use case.