We used cli and set the correct tsconfig.json file to --project. In our tsconfig.json > compilerOptions.paths, we add several paths as short aliases in our ts/js files.
i.e:
tsconfig.json
"paths": { "@/*": ["./src/*"] }
In our component:
import { functionA } from '@/utils'
ts-remove-unused seems not to support tsconfig.json > compilerOptions.paths because my CLI command deletes all the files/lines of code using compilerOptions.paths (i.e: above functionA)
The lib is great and it would be greater to support compilerOptions.paths.
Thank you