Telefonica / webview-bridge

Novum JavaScript Bridge
MIT License
27 stars 7 forks source link

chore(dist): optimize size #154

Closed pladaria closed 1 month ago

pladaria commented 1 month ago

I was expecting greater gains, but it's something 🤷


Analyzing bundles of page-example-flow-state in webapp

Before

After

pladaria commented 1 month ago

Nice, but I think some of these changes are difficult to maintain. We can remember to avoid async/await, but not so easy to stop using object or array destructuring

yep, it would be nice to get a report of the generated size in PRs