-
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 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yeah this is a limitation of nodejs. You should ask https://github.com/nodejs/loaders |
Beta Was this translation helpful? Give feedback.
Yeah this is a limitation of nodejs. You should ask https://github.com/nodejs/loaders