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

feat(deno-server): use output node_modules for start task #2687

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Aug 23, 2024

Nitro generates .output/server/node_moduels for used dependencies, however deno does not use this directory (and instead tries to download all dependencies again on first run!).

This PR removed old --unstable and adds new --unstable-byonm flag by default to the start task. (this also speeds up our internal CI tests for deno-server by ~2x)

@pi0 pi0 self-assigned this Aug 23, 2024
@pi0 pi0 changed the title feat(deno): use generated node_modules feat(deno-server): use generated node_modules for start task Aug 23, 2024
@pi0 pi0 changed the title feat(deno-server): use generated node_modules for start task feat(deno-server): use output node_modules for start task Aug 23, 2024
@pi0 pi0 merged commit f2ea9f2 into v2 Aug 23, 2024
5 checks passed
@pi0 pi0 deleted the feat/deno-byonm branch August 23, 2024 08:17
luc122c pushed a commit to luc122c/unjs-nitro that referenced this pull request Aug 24, 2024
@pi0 pi0 mentioned this pull request Oct 31, 2024
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

Successfully merging this pull request may close these issues.

1 participant