Skip to content

SharedMappings ignores multiple tsconfig.json paths #44

Open
@glebmachine

Description

@glebmachine

By design in tsconfig.json you able to set multilple paths like so:

"@wololo/auth": [
  "dist/@wololo/auth", 
  "libs/auth/src/index"
]

This declaration works by following idea: "use compiled library, if not - compile from source"

But, here as you can see you just pick first path:

const libPath = path.normalize(path.join(rootPath, mappings[key][0]));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions