Skip to content

Conversation

neoncube2
Copy link

What is the purpose of this pull request? (put an "X" next to an item)

  • Documentation update
  • Bug fix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • CI related changes
  • Other, please explain:

Added "sideEffects": false to package.json. Apparently, this can enable more tree-shaking, in some cases: documentation

Other popular libraries, such as axios, have been adding this flag: axios/axios#5025

What changes did you make? (Give an overview)

See above

Is there anything you'd like reviewers to focus on?

It'd probably be smart for someone with a project that is directly using mitt to test this change.

Does this PR introduce a breaking change? (What changes might other developers need to make in their application due to this PR?)

Shouldn't be a breaking change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant