☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-24 days agoJavaScript programminglemmy.mlimagemessage-square13fedilinkarrow-up1172arrow-down13
arrow-up1169arrow-down1imageJavaScript programminglemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-24 days agomessage-square13fedilink
minus-squaredazeous@lemmy.mllinkfedilinkarrow-up3·4 days 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·4 days 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