[BUG] bundledDependencies
does not work in NPM workspaces subpackage
#101
Labels
bundledDependencies
does not work in NPM workspaces subpackage
#101
Is there an existing issue for this?
Current Behavior
bundledDependencies
does not work when using NPM's new workspaces feature.The
node_modules
folder is no longer in the subpackage, only in the root package, so thebundledDependencies
field no longer works.Expected Behavior
Running
npm pack --workspaces
should packbundledDependencies
stored in my subpackage'spackage.json
file.Steps To Reproduce
Create a new folder and run the following to generate a
package.json
and asubpackage/package.json
file.Then add the following lines to both
package.json
andsubpackage/package.json
:Then, do an
npm install && npm pack --workspaces
. You should see thatnpm pack
correctly has a=== Bundled Dependencies ===
line, whilenpm pack --workspaces
does not.Environment
The text was updated successfully, but these errors were encountered: