Skip to content

[Bug]: wrong tsconfig.json#paths output when bundle: falseΒ #407

@carlosmfreitas2409

Description

@carlosmfreitas2409

Version

Rslib 0.0.16

Details

When using bundle: false, the TS path aliases are not being correctly generated in the build.
When using bundle: true, it generates correctly, but it is not what I want.

  • tsconfig.json
{
  "extends": "@repo/tsconfig/react.json",
  "include": ["src", "stories"],
  "compilerOptions": {
    "paths": {
      "@/*": ["./src/*"]
    }
  }
}
  • rslib config
    Image

  • rslib output
    Image

  • build script
    rslib build

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