Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1cd335a
Implement new `dead_returns_remover` transformer
OscarCookeAbbott Oct 17, 2025
3106bf0
Refactor `dead_returns_remover` to preserve non-return statements
OscarCookeAbbott Oct 20, 2025
b2c29a5
Update trailing comments test
OscarCookeAbbott Oct 21, 2025
faf36f8
Enhance UnusedBindingsRemover to correctly handle various export scen…
OscarCookeAbbott Oct 22, 2025
41ec50a
Optimize assignment expression handling and add test for IIFE pattern
OscarCookeAbbott Oct 22, 2025
6d46ac7
Improve `unused_bindings_remover` multi-pass
OscarCookeAbbott Oct 23, 2025
2daa86b
Fix for indexing with variables not being counted
OscarCookeAbbott Oct 24, 2025
7c0f6c6
Wip fixing discrepancies, latest new tests failing
OscarCookeAbbott Oct 24, 2025
6e5940f
Improve `UnusedBindingsRemover` handling of object and array destruct…
OscarCookeAbbott Oct 27, 2025
c766134
Simplify `unused_bindings_remover` tests
OscarCookeAbbott Oct 27, 2025
a4bd332
Reorganise `unused_bindings_remover` tests
OscarCookeAbbott Oct 27, 2025
a946246
Disable import modification to more closely mimic Babel transformer
OscarCookeAbbott Oct 31, 2025
4328eb1
Small improvements
OscarCookeAbbott Nov 5, 2025
62f841e
Fix chained CJS exports being removed
OscarCookeAbbott Nov 6, 2025
a9d7850
Small improvements
OscarCookeAbbott Nov 6, 2025
743ba55
Re-implement import cleaning but fixed
OscarCookeAbbott Nov 7, 2025
247e52a
Slight cleanup of wonky should keep function
OscarCookeAbbott Nov 10, 2025
5e615ff
Fix special imports being removed, tests to follow
OscarCookeAbbott Nov 12, 2025
c5d33fb
Merge branch 'main' into oscar/js-transformer/native-dead-code-elim
OscarCookeAbbott Nov 12, 2025
a653244
Fix modules without bindings not being cleared
OscarCookeAbbott Nov 12, 2025
51e046f
Add changeset
OscarCookeAbbott Nov 17, 2025
6fa40ca
Merge branch 'main' into oscar/js-transformer/native-dead-code-elim
OscarCookeAbbott Nov 17, 2025
39569e3
Fix flag parsing
OscarCookeAbbott Nov 18, 2025
0851889
Add unused function cleaning
OscarCookeAbbott Nov 18, 2025
6724864
Merge branch 'main' into oscar/js-transformer/native-dead-code-elim
OscarCookeAbbott Nov 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/cold-plums-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@atlaspack/transformer-js': minor
'@atlaspack/rust': minor
---

- Implement new dead_returns_remover transformer and hook up via opt-in flag
- Implement new unused_bindings_remover transformer and hook up via opt-in flag
Loading
Loading