Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making incremental compilation API public #30676

Closed
5 tasks done
radiosterne opened this issue Mar 31, 2019 · 2 comments
Closed
5 tasks done

Making incremental compilation API public #30676

radiosterne opened this issue Mar 31, 2019 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@radiosterne
Copy link

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.
@DanielRosenwasser
Copy link
Member

Duplicate of #29978, which is 3.5-bound.

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label Apr 2, 2019
@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants