Repository navigation
|
Context: I am working on MikroORM, where I dynamically load JS/TS files (let it be the ORM config or the entities). Trying to gradually improve the ESM support, and one thing I failed to get around is dynamic import of TS files. For CJS projects, I am just using I can make it work with the I would love to do something like |
Replies: 1 comment
|
Yeah this is a limitation of nodejs. You should ask https://github.com/nodejs/loaders |
Yeah this is a limitation of nodejs. You should ask https://github.com/nodejs/loaders