Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable property mangling on internals properties #87

Open
s-yadav opened this issue Aug 19, 2020 · 0 comments
Open

Enable property mangling on internals properties #87

s-yadav opened this issue Aug 19, 2020 · 0 comments
Labels
tooling All task related to tooling

Comments

@s-yadav
Copy link
Collaborator

s-yadav commented Aug 19, 2020

Enabling property mangling on internal properties can give us some good save on overall bundle size.
Reference:
https://github.com/preactjs/preact/blob/master/mangle.json

This might be a big change as right now the properties were just added without any specific pattern. Probably we can suffix them with $$ to differentiate from other properties.

@s-yadav s-yadav added the tooling All task related to tooling label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling All task related to tooling
Projects
None yet
Development

No branches or pull requests

1 participant