jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.3k stars 507 forks source link

Use Babel 7 TS compilation and forked checker? #151

Open karlhorky opened 5 years ago

karlhorky commented 5 years ago

Current Behavior

TypeScript is both compiled and checked by rollup-plugin-typescript2.

Desired Behavior / Suggested Solution / Alternatives

What are your thoughts on adding something to run type-checking code in a separate process, like fork-ts-checker-webpack-plugin?

Looks like this would either require moving away from Rollup or finding a plugin that does this.

Who does this impact? Who is this for?

tsdx users

Additional Information

karlhorky commented 5 years ago

Ah it looks like there is an issue in the rollup-plugin-typescript2 repo that is asking for this feature: https://github.com/ezolenko/rollup-plugin-typescript2/issues/113

So that may be a possible solution, in case that gets implemented.