ds300 / ds300/react-native-typescript-transformer

Allow bypassing babel

Open
#17 6 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
656
Forks
47
PR merge metrics
No merged PRs in 30d

Description

It is possible to write TS code such that Babel is not required to post-process TS compilation results. It would be a nice perf win for people in those situations if they could somehow prevent babel from being used.

For this feature, it doesn't make sense to inspect configuration options in tsconfig because they are not concrete enough to reliably express user intentions regarding babel usage.

I'm thinking that the best thing to do in the long run would be to expose an api to allow users to wrap and configure the transformer. Then they could point the bundler to their own transformer implementation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.