☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-21 month agoJavaScript programminglemmy.mlimagemessage-square13fedilinkarrow-up1180arrow-down13cross-posted to: programmer_humor@programming.dev
arrow-up1177arrow-down1imageJavaScript programminglemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-21 month agomessage-square13fedilinkcross-posted to: programmer_humor@programming.dev
minus-squaredazeous@lemmy.mllinkfedilinkarrow-up4·1 month agonode_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.
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up2·1 month agothis assumes the dev is smart enough to do --save-dev
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