justkey007 / tsc-alias

Replace alias paths with relative paths after typescript compilation
MIT License
902 stars 62 forks source link

Follow project references #171

Open jgoux opened 1 year ago

jgoux commented 1 year ago

Hello 👋

With TypeScript project references, when we build a single project, all its referenced dependencies are built beforehand when using tsc --build.

My issue is that for the dependencies, tsc-alias isn't applied as I assume TypeScript is only applying tsc.

So it would be great if tsc-alias could follow each references listed in tsconfig.json and resolve their paths as well so using:

"build": "tsc --build && tsc-alias"

would update the whole graph of projects.

lvsanche commented 1 year ago

is this a feature that is getting worked on?

justkey007 commented 1 year ago

@lvsanche We are not working on this feature yet but if you want you can contribute. THANKS