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

Remove always empty InsertChildAndDetails.importsToAdd #4689

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

liady
Copy link
Contributor

@liady liady commented Jan 4, 2024

Problem:
In insertJSXElementChildren we return a key called importsToAdd which holds an always empty imports object - that can be misleading if someone relies on that.

Fix:
Removing this key from the returned object, fixing it in all locations.

Copy link
Contributor

github-actions bot commented Jan 4, 2024

Try me

@liady liady requested review from bkrmendy and Rheeseyb January 4, 2024 15:54
Copy link

relativeci bot commented Jan 4, 2024

Job #9716: Bundle Size — 62.19MiB (~-0.01%).

604ed9c(current) vs df0030c master#9709(baseline)

Warning

Bundle contains 66 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Improvement 1 improvement
                 Current
Job #9716
     Baseline
Job #9709
Improvement  Initial JS 45.4MiB(~-0.01%) 45.4MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 19.86% 11.6%
No change  Chunks 26 26
No change  Assets 30 30
No change  Modules 4361 4361
No change  Duplicate Modules 470 470
No change  Duplicate Code 30.75% 30.75%
No change  Packages 462 462
No change  Duplicate Packages 65 65
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
Job #9716
     Baseline
Job #9709
Improvement  JS 62.18MiB (~-0.01%) 62.18MiB
Not changed  HTML 11.54KiB 11.54KiB

View job #9716 reportView fix/bin-imports-to-add branch activity

Copy link
Contributor

github-actions bot commented Jan 4, 2024

Performance test results:
(Chart1)
(Chart2)

@liady liady merged commit c4f2212 into master Jan 4, 2024
10 checks passed
@liady liady deleted the fix/bin-imports-to-add branch January 4, 2024 16:36
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