-
-
Notifications
You must be signed in to change notification settings - Fork 542
Open
Description
Desired Behavior
Register the ts-node/esm
loader using the register
function. Example of use:
node --import=ts-node/esm-register
The content of the file would be something like this:
import { register } from 'node:module'
import { pathToFileURL } from 'node:url'
register('ts-node/esm', pathToFileURL('./'))
Is this request related to a problem?
No.
Alternatives you've considered
.
Additional context
.
klippx, thetutlage, wojtekmaj, lenkan, Ricki-BumbleDev and 29 more
Metadata
Metadata
Assignees
Labels
No labels