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
Earliest start together with official breaking release work!
Small issue to not get over it since it seems important, citing from @tmm from here #3446 (comment) :
In addition to what @roninjin10 described, "sideEffects": false should be added to package.json files for maximum tree-shakability.
Without "sideEffects" switched off build systems aren't able to properly eliminate dead code (e.g. Next.js) and could still contain unused code even if they are unused.
As an additional note, this might actually need some analysis if we do have side effects in our packages, so this would be using things in a global context and the like.
If we do it is likely a good idea to refactor along that these go away!
The text was updated successfully, but these errors were encountered:
Part of #3446
Earliest start together with official breaking release work!
Small issue to not get over it since it seems important, citing from @tmm from here #3446 (comment) :
As an additional note, this might actually need some analysis if we do have side effects in our packages, so this would be using things in a global context and the like.
If we do it is likely a good idea to refactor along that these go away!
The text was updated successfully, but these errors were encountered: