This may not be the best place to ask this sort of question so I apologize if I'm just mucking up the system here. But I was wondering why can't a parser (like Webpack) run through the original Typescript code and run DCE at that point and then transpile to ES5 or ES6 code?