Open
Description
Now only the ESModule target is supported. It is not a severe problem because React code is handled by bundlers. If you also need to run the code by ts-node
you can set up your tsconfig.json
like this:
{
"compilerOptions": {
"module": "ESNext",
},
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
}
}
}
But if you really need CommonJS support, please vote and address your use case here!
Metadata
Metadata
Assignees
Labels
No labels