feat(ecmascript): add property_read_side_effects to MayHaveSideEffectsContext#10129
Merged
graphite-app[bot] merged 1 commit intomainfrom Mar 31, 2025
Conversation
This was referenced Mar 30, 2025
Member
Author
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Mar 30, 2025
CodSpeed Instrumentation Performance ReportMerging #10129 will degrade performances by 3.31%Comparing Summary
Benchmarks breakdown
|
sapphi-red
commented
Mar 30, 2025
0a2f7c0 to
d54867d
Compare
2c586f7 to
ce73ad3
Compare
ce73ad3 to
45c3045
Compare
d54867d to
ac2ecbb
Compare
45c3045 to
b0e1322
Compare
Contributor
Merge activity
|
…ectsContext` (#10129) For [`treeshake.propertyReadSideEffects`](https://rollupjs.org/configuration-options/#treeshake-propertyreadsideeffects) support. Currently, `PropertyReadSideEffects::OnlyMemberPropertyAccess` and `PropertyReadSideEffects::All` works the same.
b0e1322 to
ef3451c
Compare
graphite-app bot
pushed a commit
that referenced
this pull request
Aug 28, 2025
…pertyAccess` (#13348) In #10129, I introduced `PropertyReadSideEffects`. In that, I added `PropertyReadSideEffects::OnlyMemberPropertyAccess`. This was because I thought this was the default behavior of Rollup at that time. But after re-reading the Rollup's code and checking the behavior in REPL while reviewing rolldown/rolldown#5945, I noticed that I was wrong. Since this was added solely for Rolldown to add support for `treeshake.propertyReadSideEffects` and it's not useful for that usecase, I removed the value. cc @IWANABETHATGUY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

For
treeshake.propertyReadSideEffectssupport.Currently,
PropertyReadSideEffects::OnlyMemberPropertyAccessandPropertyReadSideEffects::Allworks the same.