-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
I suggest to cache the output of deno info when it is called during resolve/load stage. If the root module that was passed to deno info is loaded then all of its imports (and imports of imports) would be loaded as well, so it seems wasteful to call out to deno info for every single file, instead we could reach out for the information that was already retrieved in the first call to deno info.
I think it's fine to never invalidate this cache as Vite will reload on file change which (if I'm not mistaken) should invalidate the cache.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels