minus-squareNewDark@lemmings.worldtoProgrammer Humor@programming.dev•You typical Node projectlinkfedilinkarrow-up1·20 days agoIf you import 1% of your module code, you only compile the actual used code. Tree shaking is removing dead code paths that aren’t used. linkfedilink
minus-squareNewDark@lemmings.worldtolinuxmemes@lemmy.world•Conventions contain lots of Blahajs and UwU'slinkfedilinkarrow-up1·4 months agoThey need TempleOS linkfedilink
If you import 1% of your module code, you only compile the actual used code. Tree shaking is removing dead code paths that aren’t used.