1.0.4 • Published 2 years ago
@emirguvenni/tspaths v1.0.4
TS-Paths
Replace absolute paths to relative paths after typescript compilation (tsc) during compile-time.
Getting Started
First, install tspaths as devDependency using npm or yarn.
npm install --save-dev @emirguvenni/tspaths
or
yarn add -D @emirguvenni/tspaths
Add it to your build scripts in package.json
"scripts": {
"build": "tsc -p tsconfig.json && tspaths",
}
Then run the build script in the same directory as your tsconfig.json.
Disclaimer !!!!!
This is an update fork since this project was abandoned. The original project is tscpaths.