You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe we need something like --unstable-npm-lazy-caching for compile? that would look into the file being compiled and only include npm packages that are atually being used?.
In my case, i have esbuild and react in the imports of deno.json and deno compile includes them in the compiled binary, but are not included if they are not in the imports.
Version: Deno 2.2
This is because deno compile a.ts downoads and embeds @types/node and undici-types/
I think downloading them is ok for checking but embedding them is wrong
Reproduce
The text was updated successfully, but these errors were encountered: