This doesn’t work as is.
One problem is that the sourceMap provided by our Typescript compilation step is not passed on to swc.
This should be possible by setting inputSourceMap in swcOptions via an override to inferExtraSWCOptions similar to how we do it for Babel in inferExtraBabelOptions.