fix adding swc configuration file support as an option - #2143
Conversation
|
Hey @sdotson, If you are capable of running the various tests, etc. Then that might help. The contributing.md doc seems to be out of date (or just doesn't handle me running this on a linux machine pop-os). A list of the problems I have when trying to use the prescribed calls:
As an example^ Running tests fails due to the same typescript build failures and it seems testing types aren't recognized. I could try getting something to work, but since I'm not sure if that would affect tests, I'm personally hamstrung to verify it. For anyone who may be able to verify this, please feel free to do so! |
|
It sounds like something is going on with your local As I noted in my previous message, it looks like tests still pass on my local machine! If you'd like to add an additional test, I can run and verify for you if needed. |

Summary
This PR implements what looks like the correct changes for ts-node to support specifying an swcConfig.
Unfortunately, the version of yarn has a bug that won't download the github based packages due to checksum mismatch and the tests seem very reliant on that particular yarn. If someone can point me to documentation for how to run the tests with out debugging tons of failures, I would be more than happy to implement additional tests.
This would unlock a lot of swc based flows as indicated in: #1856