Open jakobrosenberg opened 1 year ago
I found a work around by creating a .cjs
file to handle the dynamic imports. Alas it struggles to import ESM files if the imported file doesn't have a .mjs
extension. Setting package.json type to module
in the package of the imported file seems to make no difference.
Is it possible to do something like this with
esm
to synchronously import esm modules?