Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yep, that's how it works - you first perform dead code elimination and then tree shaking exactly because it wouldn't remove everything otherwise. Agreed that you need both done one after another in most cases; however you can usually disable either one in bundler configuration and it's a separate step.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: