Skip to content

generateTrace does not work with newer TypeScript versions #722

@mkantor

Description

@mkantor

Current behavior

The README describes how to profile slow type-checking by setting generateTrace in tsconfig.json. However this doesn't work with recent TypeScript versions.

Expected behavior

When building with "generateTrace": "./traces" in tsconfig.json, trace files should be created in ./traces as stated in the README.

Steps to reproduce the issue

  1. Set up a project with a recent version of TypeScript (I'm using 4.6.2, but I'm nearly certain this problem exists as far back as 4.2.x).
  2. Set up a tsconfig.json with "generateTrace": "{folderName}" as described in the README.
  3. Do a build.
  4. Observe that no trace files were created.

Environment

  • fork-ts-checker-webpack-plugin: 6.2.12
  • typescript: 4.6.2
  • eslint: 7.32.0
  • webpack: 4.46.0
  • os: macOS 12.0.1

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