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

fix(compile): write bytes directly to output file #18777

Merged
merged 2 commits into from Apr 19, 2023

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Apr 19, 2023

  1. Adds cli/standalone folder
  2. Writes the bytes directly to the output file. When adding npm packages this might get quite large, so let's not keep the final output in memory just in case.

@dsherret dsherret marked this pull request as draft April 19, 2023 20:33
@dsherret dsherret marked this pull request as ready for review April 19, 2023 20:44
@dsherret dsherret changed the title refactor: add cli/standalone folder fix(compile): write directly to file and write bytes directly to output file Apr 19, 2023
@dsherret dsherret changed the title fix(compile): write directly to file and write bytes directly to output file fix(compile): write bytes directly to output file Apr 19, 2023
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret enabled auto-merge (squash) April 19, 2023 21:39
@dsherret dsherret merged commit c2e9c8c into denoland:main Apr 19, 2023
11 checks passed
@dsherret dsherret deleted the refactor_compile branch April 19, 2023 21:53
bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Apr 20, 2023
1. Adds cli/standalone folder
2. Writes the bytes directly to the output file. When adding npm
packages this might get quite large, so let's not keep the final output
in memory just in case.
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.

None yet

2 participants