.armaan.s..

node_modules / package.json Auto Import Fix?

I'm using package.json to manage my dependencies. I'm using VSCode with the Deno extension. The auto import suggestions always tries to import from a file in node_modules, e.g.
import { Hono } from "../node_modules/hono/dist/types/index.d.ts";

I want it to import like
import { Hono } from "hono";

Is there a way to configure the Deno extension to import like this?
Was this page helpful?