this post was submitted on 16 Jun 2025
170 points (98.3% liked)

Programmer Humor

36553 readers
711 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] dazeous@lemmy.ml 3 points 2 days ago (1 children)

node_modules might take a lot of space on a dev machine, but as op said, only the files used are packed into web artifacts that are deployed.

So 12gbs can end up as 10mb, arbitrary number to highlight significance of tree shaking.

this assumes the dev is smart enough to do --save-dev