Skip to content

Forked type checker is disabled for AOT builds #1

Open
@d3lm

Description

@d3lm

For this library to work with AOT as well, we currently cannot run the type checker in a forked process. This has some performance drawbacks for somewhat large applications because TypeScript is synchronous and running the type checker in the main thread will slow down the compilation.

In this issue we want to investigate, share findings and discuss how we can solve this issue so that we can safely run the type checker again in a forked process.

When setting forkTypeChecker to true it works for the initial build but when we modify some resources and the build is re-triggered, there are some type errors thrown by the type checker. If we modify something a second time, the forked type checker stops unexpectedly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions