Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Xt-6
· 3y ago · 0 comments
They can do it, it is just turned off by default and require more advanced configuration.
https://github.com/terser/terser#cli-mangling-property-names...
Comments
[–]
jitl
3y ago
I don’t know any codebase that’s enabled these kinds of transforms because the compiler doesn’t know if a type’s properties will be introspected or iterated, so the transform is likely to break at runtime