TS compilation target is quite old #9
Description
Hi,
First of all, I love this initiative. Having consistency across the TS/JS Ethereum community would add a lot of value.
Reading the different configs, the tsconfig.json's target caught my attention. Is it really necessary to compile to ES5? There aren't many platforms that don't support, at least, ES-2016 natively. The ones that don't are not supported anymore by their authors, and they shouldn't be used for security sensitive stuff (eg: anything we do with Ethereum).
I think that defining a set of supported environments and then deriving a config from there would result in smaller and more comprehensible bundles (sometimes source-maps aren't available). The bad news is that typescript doesn't do that automatically, but it's not a lot of work either.