`usage-pure` has incorrect optimization logic
Open
bug
- Dominant language
- TypeScript
- Stars
- 357
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
The problem is described [here](https://github.com/babel/babel-polyfills/pull/165#discussion_r1231253950).
Contributor guide
Research direction
Start by reading the linked discussion in pull request #165, then locate the implementation of the `usage-pure` optimization logic. Done means the behavior matches the agreed correction in that discussion and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100