Open karlhorky opened 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.
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
create-react-app
did some exploration into improving TS performance in this thread, when they were addingfork-ts-checker-webpack-plugin
: https://github.com/facebook/create-react-app/pull/5903fork-ts-checker-webpack-plugin
too https://github.com/zeit/next.js/pull/7278