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

Frontend JS Package Manager #28382

Open
trymeouteh opened this issue Mar 4, 2025 · 2 comments
Open

Frontend JS Package Manager #28382

trymeouteh opened this issue Mar 4, 2025 · 2 comments

Comments

@trymeouteh
Copy link

To add a setting in the deno.json file such as "frontend": "true" which when present, will install any package into a sub folder named ./packages

This will also allow the package manager built into Deno to also work as a package manager for frontend packages in the browser.

@0f-0b
Copy link
Contributor

0f-0b commented Mar 4, 2025

Does nodeModulesDir fit your needs?

@phaux
Copy link

phaux commented Mar 5, 2025

deno vendor command worked great for this and it even generated import map for frontend (so imports from esm.sh get rewritten to the vendored versions), but it's removed in Deno 2 :(

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

3 participants