Skip to content

Unstable behavior across builds #1125

@freiondrej

Description

@freiondrej

Expected Behaviour

Several consecutive builds without any code changes should produce consistent results - either success or failure.

Actual Behaviour

For some builds, I'm getting ts-related failures (usage of any etc). I'm using multiple tsconfigs in the project, each has its own webpack entrypoint. I thought the problem might be related to what was solved in #1104, but it did not solve the issue. What confuses me the most is that without any code changes, the results are different (sometimes the build succeeds just fine, same with launching webpack-dev-server). Is there anything like a cache involved in ts-loader internally, what could cause this to happen?

Steps to Reproduce the Problem

I'm using ts-loader 7.0.4 with webpack 4.42.0, webpack-cli 3.3.11 and webpack-dev-server 3.10.3

Location of a Minimal Repository that Demonstrates the Issue.

Because I don't know what and when causes the issue, I'm unable to create a reproduction for it.

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