☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-23 days agoJavaScript programminglemmy.mlimagemessage-square13linkfedilinkarrow-up1175cross-posted to: [email protected]
arrow-up1175imageJavaScript programminglemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · edit-23 days agomessage-square13linkfedilinkcross-posted to: [email protected]
minus-squaredazeous@lemmy.mllinkfedilinkarrow-up3·3 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-up2·2 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