Closed vladshcherbin closed 1 year ago
I don't think so, I think that your runtime is node but that your specific app uses the bundler resolution - so having that in your tsconfig is showing the right information about your specific project (instead of hiding it in a shared bundler tsconfig)
Good to know, I was a bit confused after reading multiple issues on TS module resolution configuration. Thank you for the clarification.
Hopefully this will also be helpful for other devs having the same question 🙌
Hi 👋
I'm using node v20 and tsx
@tsconfig/node20
hasmodule
set tonode16
so imports without extensions are not supported.tsx
has support for such imports. According to handbook guide it's advised to useesnext
andbundler
withtsx
, bun and other bundlers.Does it make sense to create a simple base config for bundlers?
It would make possible to use it this way: