1.0.11 • Published 5 years ago
replace-ts-alias v1.0.11
replace-ts-alias
A simple CLI to replace modules aliases defined in tsconfig.json by the correct relative path in the transpiled .js files.
Getting started
Run the following command :
yarn add -D replace-ts-aliasHow to use
Run the following command :
yarn replace-ts-alias -p ./path/to/project/root/with/tsconfig.jsonIf you're already at the project root yarn replace-ts-alias -p .
And then it's done.