8000 Making incremental compilation API public · Issue #30676 · microsoft/TypeScript · GitHub
[go: up one dir, main page]

Skip to content
Making incremental compilation API public #30676
Closed
@radiosterne

Description

@radiosterne

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0