wooorm / xdm

Just a *really* good MDX compiler. No runtime. With esbuild, Rollup, and webpack plugins
http://wooorm.com/xdm/
MIT License
593 stars 18 forks source link

Node loader should pass actual URL object instead of file-URL-as-string to `vfile` #79

Closed wooorm closed 3 years ago

wooorm commented 3 years ago

Initial checklist

Affected packages and versions: TODO

Steps to reproduce

https://github.com/wooorm/xdm/blob/c3502d195feb3730557dbec81963592f4b3a2f67/lib/integration/node.js#L40

Expected behavior

new URL(...)

Actual behavior

...