1.0.1 • Published 3 years ago
to-relative-paths v1.0.1
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" --verbosewhere 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