8000 ts-loader with thread-loader doesn't work in transpileonly mode · Issue #1618 · TypeStrong/ts-loader · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ts-loader with thread-loader doesn't work in transpileonly mode #1618
Open
@janlent1

Description

@janlent1

Expected Behaviour

When using the thread-loader, the ts-loader checks for hasForkTsCheckerWebpackPlugin to enable transpile only mode,
but since the settings are stringified and parsed again, the constructor name is Object and not ForkTsCheckerWebpackPlugin anymore. There needs to be another way of using transpile only, eg via happypackmode or similar.

Actual Behaviour

The hasForkTsCheckerWebpackPlugin always returns false disabling the transpileonly mode.

Steps to Reproduce the Problem

use thread-loader with forktscheckerwebpackplugin and output the value of hasForkTsCheckerWebpackPlugin

Location of a Minimal Repository that Demonstrates the Issue.

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

      0