jfbn
Removing file extensions on import
Sorry to necro bump here.
I have configured an import map to import a local, non distributed node package (designed for npm context, we are just prototyping new apps with Deno).
The import is to a barrel export that does not have file extensions on all t he exports.
It looks like this:
It looks like the Deno language server cannot properly resolve these imports without attaching the
.ts
extension to each of the barrel exports.
This is not an option for us as this package is being used elsewhere and should not be modified for this particular use.
How can I make the Deno language server correctly resolve this import?14 replies