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

mark the package as side effect free #75

Merged
merged 1 commit into from
Nov 13, 2022
Merged

mark the package as side effect free #75

merged 1 commit into from
Nov 13, 2022

Conversation

kubikowski
Copy link
Owner

Description:

Webpack, as well as some other bundlers, use the "sideEffects" package field in order to tell whether a package can optimally utilize tree shaking in the bundling process.

This library contains individual utilities. And each of those should be tree shakable by bundlers. If you only want to serve difference out of this package, you should be able to do so.

Resources:

@kubikowski kubikowski added type: Improvement general improvements to the code format & structure code: DevOps automate everything labels Nov 13, 2022
@kubikowski kubikowski added this to the v1.5.4 milestone Nov 13, 2022
@kubikowski kubikowski self-assigned this Nov 13, 2022
@kubikowski kubikowski merged commit a0008ce into main Nov 13, 2022
@kubikowski kubikowski deleted the package branch November 13, 2022 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code: DevOps automate everything type: Improvement general improvements to the code format & structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant