160
submitted 1 year ago* (last edited 1 year ago) by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] ddplf@szmer.info 3 points 1 year ago* (last edited 1 year ago)

Which is of very little importance in most cases, because modern bundlers incorporate treeshaking in order to filter out all the unused code when you're building a production application

Edit: okay well appearently that's controversial for some reason

[-] BlueMagma@sh.itjust.works 6 points 1 year ago

I didn't know about treeshaking (still unsure what it is exactly since I'm not a js Dev), but I'm guessing it still takes up Gigs of space in the project folder of every Devs PC, duplicated for each project.

[-] dazeous@lemmy.ml 3 points 1 year ago

Some use 'pnpm' package manager, alternative to default, where the packages are downloaded once to a central location, and per project directory, it links to the original location so files aren't duplicated saving space

load more comments (4 replies)
load more comments (6 replies)
this post was submitted on 16 Jun 2025
160 points (98.2% liked)

Programmer Humor

43735 readers
13 users here now

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

Rules:

founded 7 years ago
MODERATORS