Skip to content

moduleTypes may not be overriding module type for custom transpilers #1651

Closed
@cspotcode

Description

@cspotcode

Discovered this trying to pair "swc": true with moduleTypes overrides.

Seems we are forgetting to pass the overridden module option into the third-party transpiler, which includes the swc integration.

Workaround till this is fixed is to use transpileOnly without swc. Only affects users of moduleTypes overrides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions