You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
UglifyJS cannot clearly understand if the module is side effect free
⭐️ T (task) ⭐️
babel-plugin-annotate-pure-calls helps with automatic #PURE annotation insertion. It add the comment to top level call expressions and new expressions in assignment contexts (those are considered by the plugin as side effect free). This helps UglifyJS to perform dead code elimination more efficiently and therefore reduces the bundle sizes for the consumers
⭐️ S (situation) ⭐️
UglifyJS cannot clearly understand if the module is side effect free
⭐️ T (task) ⭐️
babel-plugin-annotate-pure-calls
helps with automatic #PURE annotation insertion. It add the comment to top level call expressions and new expressions in assignment contexts (those are considered by the plugin as side effect free). This helps UglifyJS to perform dead code elimination more efficiently and therefore reduces the bundle sizes for the consumersLink: https://www.npmjs.com/package/babel-plugin-annotate-pure-calls
⭐️ A (action) ⭐️
Add
babel-plugin-annotate-pure-calls
⭐️ R (result) ⭐️
It can lead to even more size reduction
The text was updated successfully, but these errors were encountered: