Skip to content

feat(minifier): remove empty [] and {} declaration#16855

Merged
Boshen merged 1 commit intooxc-project:mainfrom
armano2:feat/remove_empty_array_object_patterns
Dec 15, 2025
Merged

feat(minifier): remove empty [] and {} declaration#16855
Boshen merged 1 commit intooxc-project:mainfrom
armano2:feat/remove_empty_array_object_patterns

Conversation

@armano2
Copy link
Contributor

@armano2 armano2 commented Dec 14, 2025

Expands check for should_remove_unused_declarator to include empty array and object pattern

@github-actions github-actions bot added A-minifier Area - Minifier C-enhancement Category - New feature or request labels Dec 14, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 15, 2025

CodSpeed Performance Report

Merging #16855 will not alter performance

Comparing armano2:feat/remove_empty_array_object_patterns (9b3470e) with main (b16fe64)

Summary

✅ 38 untouched
⏩ 7 skipped1

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Boshen Boshen merged commit aafcf3e into oxc-project:main Dec 15, 2025
27 checks passed
@armano2 armano2 deleted the feat/remove_empty_array_object_patterns branch December 15, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-minifier Area - Minifier C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants