Files
sapphi-red bb5a232424 fix(minifier): keep variable declaration initilized with class when keepNames is enabled (#25584)
Keep the variable declaration when that is initialized with class and keepNames is enabled:
```js
var MyStore = class { static { console.log(this.name) } };
```

fixes https://github.com/oxc-project/oxc/issues/25060

I used AI to generate the code and then reviewed the code and added the tests for `keepNames` disabled cases.
2026-08-14 01:23:31 +00:00
..
…