Closed ynwd closed 1 year ago
This is partly "working as designed" as emit doesn't use/have access to the deno.jsonc
to provide the compilerOptions
being used here, but at the same time, setting compilerOptions
is not enabled to overcome this issue.
I'm hitting this problem too ... in a small dev server that transpiles my ts on the fly for the browser. But, I'm also using import maps, and I assumed it may have been that the new emit module is not using the import map. Could this be the case too, if emit isn't picking up the deno.json, then it also isn't picking up the import map declared there?
I could not reproduce the bug with the provided repo, neither with v0.0.1 (for which it panics for different reasons), nor with the latest version (for which it transpiles fine).
As for the import map support, this will land with #114.
I think the issue should be closed.
I want to emit react component. But got this error.
Repo: https://github.com/ynwd/deno-emit-with-react