Skip to content

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

@chrstntdd

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions