feat: project references
Fixes https://github.com/esbuild-kit/tsx/issues/96 for esm-loader.
I'm walking through the references key in the first tsconfig and constructing a map of projects.
The alias paths are then tested against all projects until we get a winner.
We also apply the right tsconfig file in transform.
I added a test case to show that it works. ✅
@privatenumber is there anything I can do to move this forward? 🙏
Sorry, I work on tsx on my spare time and I haven't had much lately. Hope to find some time to catch up on the issue and PRs in the next few weeks.
Sorry, I work on tsx on my spare time and I haven't had much lately. Hope to find some time to catch up on the issue and PRs in the next few weeks.
Never be sorry for free work, I just wanted to check if I can remove some work from your plate. 😄
I'll wait, no problem!
@privatenumber any chance we could get this and esbuild-kit/cjs-loader/pull/32 merged? This would be really useful for our org to run tests straight from source rather than pre-building
@privatenumber Bumping again. Sorry for harassing, we just want to move this forwards.. If theres someone else we can proceed against that would be good too :)