Closed
Description
Search Terms
incremental tsbuildinfo
Suggestion
Make incremental compilation APIs, such as performIncrementalCompilation
, createIncrementalProgram
, and createIncrementalCompilerHost
public to allow incremental compilation without running tsc.
Use Cases
This would be useful for third-party typescript compilation utilities, such as Webpack loaders (see TypeStrong/ts-loader#913, s-panferov/awesome-typescript-loader#627).
Maybe I'm gravely mistaken and there is some other way to enable incremental compilation using .tsbuildinfo
, but I'm unable to figure it out, so any suggestions would certainly be helpful.
Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.