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

Color, ColorManagement: adds /*@__PURE__*/ #25604

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

ycw
Copy link
Contributor

@ycw ycw commented Mar 2, 2023

Related issue: #25595

This PR adds annotations for treeshaker

Color, Vector3 and Matrix3 are now treeshakable; saved 45kb.

@Mugen87 Mugen87 added this to the r151 milestone Mar 2, 2023
@Mugen87 Mugen87 merged commit 662f8b5 into mrdoob:dev Mar 2, 2023
@ycw ycw deleted the color-treeshakable branch March 2, 2023 16:00
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.

2 participants