swc-node
swc-node copied to clipboard
`ERR_INVALID_URL_SCHEME`: `data:text/javascript,` is not supported like `ts-node`
I'm trying to workaround ERR_UNKNOWN_FILE_EXTENSION error for .mts files. 🤣
related:
- https://github.com/egoist/esbuild-register/issues/79
- https://github.com/folke/esbuild-runner/issues/67
Only happens for Node >=16 <18.19