You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using mainly the default generated files from generator-code, a significant number of devDependencies (mostly recursive) are pulled in - mainly because of Mocha. For development this is fine (I love Mocha). But why blindly package them all with vsce package? Perhaps create an output directory of everything vsce ls would find but node_modules, then run npm install --production and package that directory. Would certainly reduce the size of VSCode extensions. Mine - with only the addition of 1 small module (with no dependencies itself) is over 5MB.
The text was updated successfully, but these errors were encountered:
Using mainly the default generated files from
generator-code
, a significant number of devDependencies (mostly recursive) are pulled in - mainly because of Mocha. For development this is fine (I love Mocha). But why blindly package them all withvsce package
? Perhaps create an output directory of everythingvsce ls
would find but node_modules, then runnpm install --production
and package that directory. Would certainly reduce the size of VSCode extensions. Mine - with only the addition of 1 small module (with no dependencies itself) is over 5MB.The text was updated successfully, but these errors were encountered: