Andrei Dumitrescu
Andrei Dumitrescu
**Why did you do it?** 1. Moving git-info makes sense because it's a better visual anchor, it's after a fixed width section (user@host) and you don't have to adjust when...
Trying to run `node -r @swc/register test.ts` throws the following: ``` ❯ node -r @swc/register test.ts internal/process/esm_loader.js:74 internalBinding('errors').triggerUncaughtException( ^ TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for test.ts at Loader.defaultGetFormat [as...
`node -r swc-register src/**/*.test.ts` works as expected if `"type": "module"` is not present in `package.json`, otherwise the script fails with: ``` > node -r swc-register src/**/*.test.ts internal/process/esm_loader.js:74 internalBinding('errors').triggerUncaughtException( ^ TypeError...