pkg
pkg copied to clipboard
Private package in node_modules is including sources
Hi,
All of my private code sits in internal libraries that are included in node_modules. When I set these packages to license=UNLICENSED and private=true the source code still remains in the executable. How can I exclude my private packages when they are included in node_modules?
Cheers
As a workaround I added a cli option to pass in a regex to force no source. https://github.com/vercel/pkg/pull/1770 I'm sure there's a better way to do this, but it works for me.
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.