Skip to content

3.5.0-dev.* breaks ts-loader from webpack #31447

@konpikwastaken

Description

@konpikwastaken

TypeScript Version: 3.5.0-dev.20190517

Search Terms:
webpack, ts-loader, incremental build

Description:
/edit: strikethrough what I thought was related issue

Doing a normal build with typescript@next as 3.4.5 has issues with --incremental flag and when sources get regenerated. It appears we cannot move to 3.5.0 as it breaks our webpack bundling with the following errors for each ts(x) file encountered during the bundle process.

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

Attempted with ts-loader versions

  • 5.4.6
  • 6.0.0

Expected behavior:
Error should not occur, as no error occurs in [email protected]

Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions