oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
72.23k stars 2.58k forks source link

Support ${configDir} in typescript paths #11752

Open lurebat opened 1 month ago

lurebat commented 1 month ago

What is the problem this feature would solve?

The upcoming typescript 5.5 will have a template variable in tsconfig.json called ${configDir}, which lets you specify relative path to the tsconfig.json file.

Currently bun does not support this feature when parsing typescript's paths.

What is the feature you are proposing to solve the problem?

Add support for this feature. Currently the version is still in RC, but I didn't see any issue about this yet.

What alternatives have you considered?

No response

alextbok commented 1 month ago

Looks like this still isn't supported in bun v1.1.16 even though typescript v5.5.2 is now released.