Closed swwind closed 10 months ago
this looks like
configPath
as './deno.json', but i think this should be the default config pathtoFileUrl
will throw if configPath
is not a absolute path.
https://github.com/lucacasonato/esbuild_deno_loader/blob/d360c108ac03c4f22843e9673471c6232f3d7507/src/plugin_deno_resolver.ts#L68-L71I think this is working as intended. Feel free to open a PR to improve the error message, but this is what the docs also say.
I don't think the resolver handles import maps correctly.
deno.json
mod.ts
build.ts
when running
deno run -A build.ts
, I gotwhile
deno run mod.ts
just works.