[Feature Request] A "prune" option, or similar. #7018
casperisfine
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is interesting proposal and it seems this is partially fixed by #6133. Any idea how this should work? Should it be default behaviour for frozen install for example or implemented in additional command |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
In some situations, (such as docker image building, CI caching, etc), it's desirable to minimize the bundler path footprint.
Current workaround
Here's the script we're using right now:
And it's quite effective:
Proposal
This script works well, but I think that if such feature was shipped with bundler itself it would be useful for many more people.
NB: the
.a/o/etc
removal is probably out of scope for a generic tool, but I think thecache
and.git
would benefit most people without breaking anything.Beta Was this translation helpful? Give feedback.
All reactions