Skip to content

[BUG - Since 2.1.5] Compilation of tsconfig include files does not honour tsConfigFileLocation in serverless #296

Open
@Rayyan98

Description

@Rayyan98

The feature introduced in 2.1.5 by the PR #190 about compiling ts files matched by the tsconfig include is hard coded to read the 'tsconfig.json' file from the directory. In our case this breaks compilation since we provide a different tsconfig to the plugin through tsConfigFileLocation option in serverless. The other tsconfig excludes some files which utilise the typescript references feature to refer to code from other projects (since we are in a mono repo) and worked until 2.1.4.

Referenced code
image

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