You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: