Exidex
Exidexā€¢2y ago

Is it possible to import cjs module from es module, both in extension?

cjs is added using deno_core::extension's js. esm added using deno_core::extension's esm I can import esm from other esm using ext but it seems that ext protocol only works for esm and not cjs.
1 Reply
Exidex
ExidexOPā€¢2y ago
if not I think I would have to convert cjs to esm somehow šŸ‘ converting to esm worked

Did you find this page helpful?