swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.81k stars 76 forks source link

Support for TypeScript's `${configDir}` template variable in tsconfig files #834

Open hartbit opened 4 months ago

hartbit commented 4 months ago

Hi there,

I think that swc-node doesn't support TypeScript's ${configDir} template variable introduced in TypeScript 5.5. I use it in my paths and get import errors with those paths. Have you every considered using tsconfck for parsing tsconfig files ? Big projects like Vite seem to use it.