Skip to content

Add "sideEffects": false to pkg.json #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2021
Merged

Add "sideEffects": false to pkg.json #110

merged 1 commit into from
Jan 14, 2021

Conversation

beeequeue
Copy link
Contributor

What kind of change does this PR introduce?

Feature/fix

What is the current behavior?

The package is not currently marked as side effect free so tree-shaking will be limited.

What is the new behavior?

Tree-shaking can be done properly.


I didn't see anything that has side effects in the package, but if you know any then this should not be done

@kiwicopple
Copy link
Member

Thanks for this @beeequeue . I had to have a think about it. I'm fairly certain there are no sideEffects here so I'll merge this and keep tabs of it in our builds

@kiwicopple kiwicopple merged commit db403ad into supabase:master Jan 14, 2021
@kiwicopple
Copy link
Member

🎉 This PR is included in version 1.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants