Closed talentlessguy closed 1 year ago
types again 🤣
found the reason why it crashes, estree-jsx is deprecated and types have moved to another package
https://www.npmjs.com/package/estree-jsx
and looks like xdm uses @types/estree-jsx
but imports are still estree-jsx
(cuz @types
pkg defines modules like that)
it now crashes not because of types but because of micromark?
$ deno eval 'import { compile } from \'https://esm.sh/xdm\''
error: Uncaught SyntaxError: The requested module '/v53/micromark@3.0.5/deno/lib/compile.js' does not provide an export named 'compile'
at <anonymous> (https://cdn.esm.sh/v53/micromark@3.0.5/deno/lib/preprocess.js:2:8)
It works now
Failing module
Error message
After running
deno run
I get this:Additional info