Skip to content

0.0.7+ TypeScript target options from tsconfig.json ignored #300

Description

@chrstntdd

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions