Sverre Johansen
Sverre Johansen
Right. Thanks for the pointer! That kind of works, but I imagine I would like to override only `moduleSuffixes` but let esbuild infer the rest of the local `tsconfig.json` file....
I love that esbuild works that way, and it's amazing that one tool can deal with all the tiny details of all the tools it's replacing, but `moduleSuffixes` doesn't affect...
`moduleSuffixes` was created to be able to support Facebook's React Native, but it is implemented as a general feature, which I agree makes this less clear. In a React Native...
> For my purposes, I was implementing a parse + visit, and needed spans to get access to comments in the source which SWC doesn't currently include in the AST...
[Pr for fixing the issue](https://github.com/microsoft/graphitation/pull/349).