Skip to content
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

feat: add sideEffects: false to package.json #295

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

denisx
Copy link
Contributor

@denisx denisx commented Dec 7, 2024

Add side effects to package.json, help bundlers cut unused code with treeshake. Good for esm, modules, named imports.

@antfu antfu changed the title Add side effects to package.json feat: add sideEffects: false to package.json Dec 10, 2024
@antfu antfu merged commit 889bd73 into Rich-Harris:master Dec 10, 2024
3 checks passed
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.

2 participants