me-foundation / magicdrop

MagicDrop is a collection of EVM minting protocols that enable the multi stage minting, per stage WL management, per stage supply limit, and crossmint support.
MIT License
54 stars 37 forks source link

Set sideEffects:false in package.json #145

Closed C-o-d-e-C-o-w-b-o-y closed 1 month ago

C-o-d-e-C-o-w-b-o-y commented 2 months ago

Screenshot 2024-08-01 at 4 34 01 PM

As proved in https://github.com/magiceden/magiceden/pull/28032, setting sideEffects:false in this package will have less of a bundle size impact in consuming packages.

Screenshot 2024-08-01 at 4 34 29 PM

Read more about sideEffects: https://webpack.js.org/guides/tree-shaking/

nothing0012 commented 2 months ago

I can cut a new release after this