Skip to content

baseUrl removal caused multiple libraries to fail #1431

@hamidrezahanafi

Description

@hamidrezahanafi

We are using typescript go in a nx monorepo and we couldn't update past 0711 version

I have two library failures

  • nx is failing because it depends on baseUrl to set the swc baseUrl, I could workaround this by using two separate tsconfig files
  • storybook is failing because it depends on TsconfigPathsPlugin and it has trouble importing correct path when baseUrl is missing and override doesn't work on this library and after a few hours of tinkering I could not find any workaround

Both of these libraries should fix their code to support omitting the baseUrl and I will follow up with them for a fix, but while doing that, is it possible to bring back the baseUrl support? I should note that this effect monorepo configuration since they depend on the baseUrl to resolve correct paths
I strongly believe it will impact the adoption of tsgo in short term.

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