Skip to content

@swc/core version locked to 1.15.x blocks newer features (e.g. disabling sourceMaps) #999

@wall-street-dev

Description

@wall-street-dev

The assertCompatibleSwcCoreVersion assertion enforces @swc/core@1.15.x.
Is there a technical reason for this constraint?
The reason I ask is that this pinned version doesn't support disabling sourceMaps, which inflates Jest's cache size significantly. Newer versions of @swc/core support this, but installing them causes the assertion to throw.
Are there plans to relax this constraint or bump the supported version range?

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