☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-21 day agoJavaScript programminglemmy.mlexternal-linkmessage-square13fedilinkarrow-up1171arrow-down13cross-posted to: programmer_humor@programming.dev
arrow-up1168arrow-down1external-linkJavaScript programminglemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-21 day agomessage-square13fedilinkcross-posted to: programmer_humor@programming.dev
minus-squaredazeous@lemmy.mllinkfedilinkarrow-up3·20 hours 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-up1·9 hours 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