Y
Hacker News
new
|
ask
|
show
|
jobs
by
Xt-6
1044 days ago
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...
1 comments
jitl
1043 days 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
link