Reduce the file size of the @salesforce module #2835
Closed
RupertBarrow
started this conversation in
Ideas
Replies: 3 comments 9 replies
-
|
yep, working on that for sure. can you try it with the newer jsforce here? |
Beta Was this translation helpful? Give feedback.
9 replies
-
|
Hi @mshanemc , I just saw |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This issue is fixed in version 2.40.7 (May 8, 2024) of the CLI. Enjoy! |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
The largest module in the Salesforce sf cli is @salesforce.
When one observes the contents of the @salesforce module by size, the largest subdirectories are mostly plugins :
In each of these plugins, you will find a
npm-shrinkwrap.jsonfile and anoclif.lockfile. Together, these two files represent half the size of each plugin :So out of the 26Mb of the whole
@salesforcemodule, thesenpm-shrinkwrap.jsonandoclif.locktake up more than 15Mb.==> There must be a way of reducing the size of this module which takes up a lot of room when it is embedded.
Beta Was this translation helpful? Give feedback.
All reactions