Hacker News new | past | comments | ask | show | jobs | submit login

UglifyJS also rewrites property names if you tell it to. It's conservative so it only replaces the names you explicitly tell it to rename. Recently it gained the ability to let you give a regex, so if you have a convention of always prefixing private rename-safe properties with an underscore, you can now have those renamed.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: