Skip to content

tsconfig extends module references not supported #144

Description

@holvi-sebastian

Describe the bug

When extending a tsconfig that is referenced with module syntax, without the /tsconfig.json filename, unplugin-swc fails to load the tsconfig.

The problem is with load-tsconfig not correctly handling the (otherwise valid) case. I have opened a PR to fix this issue in that repo: egoist/load-tsconfig#27

After its merged, unplugin-swc should update its load-tsconfig version.

Reproduction

https://github.com/holvi-sebastian/load-tsconfig/tree/support-module-references-in-extends

System Info

n/a

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions