Skip to content

Potential changes required for typescript 3.5.0 #939

@konpikwastaken

Description

@konpikwastaken

Expected Behaviour

  • Specify incremental in tsconfig.json file
  • Project is able to compile successfully with against [email protected]

Note that this issue is not present with [email protected]

Actual Behaviour

An error similar to the following one is received:

[tsl] ERROR
      TS5074: Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified

Per conversation with typescript team (microsoft/TypeScript/issues/31447), it appears that this is a change in typescript but a change in ts-loader will be required.

Current workaround is that users will also need to specify tsBuildInfo in their package.json (whereas they previously did not).

Location of a Minimal Repository that Demonstrates the Issue.

https://github.com/konpikwastaken/broken-example-ts-loader-tsc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions