mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Fold constant addition expressions. Handles string concatenation and addition, both with implicit casting. For example, ```ts let x = 1 + 1 let y = "hello " + "world" ``` now becomes ```ts let x = 2 let y = "hello world" ``` ## Extra Goodies - test(minifier): add `test_snapshot` helper to perform snapshot tests with `insta` - up(hir): implement `std::ops::Add` for `NumericValue` - up(span): impl `TryFrom<Cow<'_, &str>>` for `Atom` |
||
|---|---|---|
| .. | ||
| closure | ||
| esbuild | ||
| oxc | ||
| snapshots | ||
| tdewolff | ||
| terser | ||
| .gitignore | ||
| mod.rs | ||