Skip to content

TS6305: Output file '/path/to/dist/index.d.ts' has not been built from source file '/path/to/src/index.ts'. #392

@mvargeson

Description

@mvargeson

Current behavior

You receive a TS6305 error when using the fork-ts-checker-webpack-plugin. The error does not show up when not using the plugin. Running the build again without running a cleanup script to remove the output directory and buildinfo file will result in a no error being outputted. See the steps to reproduce for more info.

Expected behavior

You either receive this error consistently when using or not using the plugin, or don't receive the error at all.

Steps to reproduce the issue

https://github.com/mvargeson/fork-ts-checker-webpack-plugin-resolution-issue#how-to-reproduce

Issue reproduction repository

https://github.com/mvargeson/fork-ts-checker-webpack-plugin-resolution-issue

Environment

  • fork-ts-checker-webpack-plugin: 4.0.4
  • typescript: 3.8.2
  • tslint: N/A
  • webpack: 4.41.5
  • os: macOS 10.15.3
  • node: 12.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions