Relative paths
Replaces tsconfig-related paths or aliases to relative
You can find us on github and npmjs
How to use
npm i -g to-relative-paths
npx to-relative-paths --root="path/to/root" --dest="path/to/dest" --alias="@internal-path" --verbose
where is
-
root
it is your root path (like ./src) -
alias
it is an alias import's path starts with (like @my-lib) -
dest
it is the path to directory (alias directs to), must be related to root - Optional
verbose
to show matched paths