Skip to content

Mark binder as pure to tree shake in typingsInstaller #53107

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 1 commit into from
Mar 6, 2023

Conversation

jakebailey
Copy link
Member

Noticed this while playing around with something else.

Marking this as pure removes the binder and other bits from the typings installer.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Mar 6, 2023
@jakebailey
Copy link
Member Author

jakebailey commented Mar 6, 2023

@DanielRosenwasser I don't think this matters too much, but, this could be safely brought back to 5.0 to trim another bit off the package. But, doesn't matter much to me; it's a lot less savings than the printer problem I introduced and later fixed in the same way.

@jakebailey jakebailey merged commit 79ef86f into microsoft:main Mar 6, 2023
@jakebailey jakebailey deleted the pure-binder branch March 6, 2023 20:07
@DanielRosenwasser
Copy link
Member

What's the savings on this one now?

@jakebailey
Copy link
Member Author

Roughly 100KB or 0.1MB.

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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants