Skip to content

Make esbuild require hack look better in output #56060

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

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

jakebailey
Copy link
Member

This is a super silly nit, but my old hack for this left extra spaces in our output when I could have just used a different temporary name for require calls that was exactly the same length, thus leaving the final output optimal.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Oct 10, 2023
@jakebailey jakebailey merged commit c5a8636 into microsoft:main Nov 3, 2023
@jakebailey jakebailey deleted the better-require-hack branch November 16, 2023 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants