[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[idea] compress dependency #16102

Open
loynoir opened this issue Sep 30, 2022 · 1 comment
Open

[idea] compress dependency #16102

loynoir opened this issue Sep 30, 2022 · 1 comment

Comments

@loynoir
Copy link
loynoir commented Sep 30, 2022

I think, pnpm partial solved and yarn berry solved the old joke on nodejs, about the heaviest objects in the universe by hard link to global cache, or compress dependency.

And yarn berry's answer is incredible neat, and takes very incredible small disk space

  • compress into zip
  • runtime require/loader hook to enter zip content
  • provide command to inject sdk to let different editor recognize zip

Inspired by that, I suggest maybe deno can do something similar adapting yarn berry existing codebase logic.

@loynoir
Copy link
Author
loynoir commented Oct 1, 2022

Kind of related, when using npm specifier #15960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant