The size of the dist folder is huge. Tree-shaking would avoid copy pasting all the files imported and instead copy just the items imported.
Tree-shaking could also prevent bugs. E.g., if post.ts imports a constant from main.ts, then the code from main.ts is copy pasted in post.js, which causes bugs.