zksync-sdk / zksync-ethers

zksync-ethers is an ethers.js library adapted to work with the ZKsync Era.
Apache License 2.0
24 stars 29 forks source link

chore: set value of sideEffects to false #211

Closed FelixMohr closed 3 weeks ago

FelixMohr commented 3 weeks ago

What 💻 Set the value of option "sideEffects" in package.json to false. Same as what ethers.js does: https://github.com/ethers-io/ethers.js/blob/main/package.json

Why ✋ There are bundled frontend applications that use zksync-ethers. This option will enable tree shaking. Bundles can be organized more efficiently, and in most cases less code will be fetched and parsed by clients, so performance can be improved.

Evidence 📷 Find more about the option here: https://webpack.js.org/guides/tree-shaking/#clarifying-tree-shaking-and-sideeffects

github-actions[bot] commented 2 weeks ago

:tada: This PR is included in version 6.14.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: