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
pnpm prune --prod
doesn't work correctly with workspaces
#2396
Comments
As a temporary solution, you may run The prune command does not support recursive execution on a monorepo currently. |
@zkochan Would you say this is a doable issue for first-time contributor to the project? If you do, I am interested in helping out. Really liking the project 👍 |
I do encourage you to contribute but this one is not the best one to start with, I think. |
This is probably fixed by #4691 |
pnpm version: 4.11.1
Code to reproduce the issue:
Clone this repo: https://github.com/jackyef/pnpm-prune-bug
Install all dependencies
Check
node_modules
sizePrune devDeps
Check
node_modules
sizeClean up node_modules manually
Install deps without devDeps
Check
node_modules
sizeExpected behavior:
node_modules/.pnpm/registry.npmjs.org/webpack
shouldn't exist after pruning.Actual behavior:
It still exist after
Additional information:
Node: v10.16.2
OS: OS X
The text was updated successfully, but these errors were encountered: