swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.79k stars 75 forks source link

feat(register): always resolve full file path for tsconfig and add paths if available #646

Closed dmregister closed 2 years ago

dmregister commented 2 years ago

Addresses #626

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

dmregister commented 2 years ago

@Brooooooklyn I'm not sure how these snapshots work. I added the snapshot file on the last commit and it failed as it was not used. Once I deleted it, now it's failing cause it's missing. Any idea how to resolve this? I do not get the error locally.

dmregister commented 2 years ago

@Brooooooklyn let me know if this PR needs anything else or if I need to split this up into 2 PR's

  1. for the paths updates
  2. fully resolve tsConfig path