Re:My failed attempt to shrink all NPM packages by 5%
by syncsynchalt on Monday January 27, 2025 @01:00PM
(#42843821)
I've not done it, but have you considered using `pnpm` and volume-mounting a shared persistent `pnpm-store` into the containers? It seems like you'd get near-instant npm installs that way.
[ Parent
| on HN ]
Re:My failed attempt to shrink all NPM packages by 5%
by hinkley on Monday January 27, 2025 @01:09PM
(#42843924)
The only time npm install was on the critical path was hotfixes. It’s definitely worth considering. But I was already deep into doing people giant favors that they didn’t even notice, so I was juggling many other goals. I think the only thank you I got was from the UI lead, who had some soda straw internet connection and this and another thing I did saved him a bunch of hard to recover timeouts.