Skip to content

[BUG] Scanning for unused files does not respect tsconfig path alias(es) #62

@insytes

Description

@insytes

When using the option --detect-unused-files-from path alias(es) defined in tsconfig.json are not respected.

{
  "compilerOptions": {
    "paths": {
      "~/*": [
        "./src/*"
      ]
    }
  }
}
// ./src/index.ts
import { someObj } from '~/depA'

./src/depA.ts will be returned as an unused file.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions