We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-node/esm-register
--import
Register the ts-node/esm loader using the register function. Example of use:
ts-node/esm
register
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('./'))
No.
.
The text was updated successfully, but these errors were encountered:
For further context and alternative example see :- #2100
Sorry, something went wrong.
No branches or pull requests
Desired Behavior
Register the
ts-node/esm
loader using theregister
function. Example of use:node --import=ts-node/esm-register
The content of the file would be something like this:
Is this request related to a problem?
No.
Alternatives you've considered
.
Additional context
.
The text was updated successfully, but these errors were encountered: