3 ms·Tree-shaking really only works for languages that are designed to be tree-shakable, which no web language is.by o11c 1y agoTree-shaking really only works for languages that are designed to be tree-shakable, which no web language is.typpilol 1y agoType/JavaScript are extremely tree shakable if using esm.. what makes you think it's not?o11c 1y agoOnly at the most crude level. Ever heard of "virtual functions"?typpilol 1y agoRuntime polymorphism is great but I wouldn't consider that to be tree shaking.