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

Pure annotations house cleaning #24207

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

pschroen
Copy link
Contributor

@pschroen pschroen commented Jun 8, 2022

Related issue: #24199

Troubleshooting the remaining side-effects, I removed all the /*@__PURE__*/ annotations and then manually re-added them all to compare the differences.

Note that pure annotations only have an effect when placed in front of call expressions, as noted by Lukas. 😉

@mrdoob mrdoob added this to the r142 milestone Jun 8, 2022
@mrdoob mrdoob merged commit de17358 into mrdoob:dev Jun 8, 2022
@mrdoob
Copy link
Owner

mrdoob commented Jun 8, 2022

Thanks!

@pschroen pschroen deleted the tree-shaking-pure-annotations branch June 8, 2022 13:52
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
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.

4 participants