chore: Update `terser` to `v5.27.0` (#61068)
### What?
Update terser to the latest version.
### Why?
We need
https://github.com/terser/terser/commit/c677e285261a0f115409a42015bd3664c8416534
which adds supports for class static blocks.
### How?
Closes PACK-2285
Fixes #60837