Bring package size down
See original GitHub issueThe size of the module is around 290MB’s because we ship standalone apps for
win-x64
osx-x64
linux-x64
This is because of a limitation on non-Windows that forces us to use a separate process to render GUIs.
We can possibly get this down by using AssemblyLoadContext.Default.Resolving
and copying duplicate dlls to a shared location. We might be able to do a similar tactic with dlls that ship IN PowerShell itself.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:8 (4 by maintainers)
Top Results From Across the Web
'Shrinkflation' accelerates globally as manufacturers shrink ...
From toilet paper to yogurt and coffee to corn chips, manufacturers are quietly shrinking package sizes without lowering prices. It's dubbed " ...
Read more >One way companies are concealing higher prices
Often, branding experts said, companies pass off shrinking product sizes as packaging innovations. Hershey's, for example, shaved off nearly 2 ...
Read more >Three ways to resize boxes for shipping packages - YouTube
In this video I show you three ways to resize your boxes to ship items. My ebay store: http://www.ebay.com/usr/mojo88forever Here's the box ......
Read more >How To Avoid Shipping Charge Corrections
Enter the dimensions of the package and select "Add" to save it to the list of ... package type from the "Package Type"...
Read more >4 easy steps to resize a cardboard box and save big
A video guide on how to reuse cardboard boxes and cut them down to the right size. Cardboard boxes can be quite versatile...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve managed to drop about 50mbs off the package using a custom assembly load event (load xplat dlls from one location rather than 3) and deleting dev dependencies that shouldn’t ship with the product.
I think we can do even better with this approach while we wait for a better way offered by PSGet/Gallery
At the end of the day, PowerShellGet and the PowerShell Gallery are the customers. The scenarios should start there and work their way back to PowerShell. This probably does require a change in PowerShell, but what’s needed should ultimately come from a PowerShellGet perspective.