This seems to be the offending line in the source: https://github.com/developit/microbundle/blob/master/src/index.js#L411
and the commit: cebff34
I assume, based on the commit, that this was added since typescript is compiled before additional transforms are added.
I'm not quite sure what direction this library is headed in, so I'd love some feedback. Would it make sense to have the tsconfig.json of the user be the source of truth for setting the target output or have it configurable via microbundle itself? I assumed that the --target flag could be used, but it only appears to modify the module resolution.
Either way, I think microbundle can stand to have the output be configurable.
Cheers!
This seems to be the offending line in the source: https://github.com/developit/microbundle/blob/master/src/index.js#L411
and the commit: cebff34
I assume, based on the commit, that this was added since typescript is compiled before additional transforms are added.
I'm not quite sure what direction this library is headed in, so I'd love some feedback. Would it make sense to have the
tsconfig.jsonof the user be the source of truth for setting the target output or have it configurable via microbundle itself? I assumed that the--targetflag could be used, but it only appears to modify the module resolution.Either way, I think microbundle can stand to have the output be configurable.
Cheers!