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(package.json): add sideEffects property #1146

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

ryoppippi
Copy link
Contributor

With experiments at #752 , rollup.js unexpectedly bundle ret.js.
However, when we add sideeffect=true to package.json, rollup.js can remove it.

I think this is a small change, but need it

This commit adds the "sideEffects" property to the package.json file. This
property is set to false, indicating to webpack that the code has no
observable side effects, which can help with tree shaking.
Copy link

pkg-pr-new bot commented Jul 4, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

commit: a27e767

typia

npm i https://pkg.pr.new/typia@1146


templates

@ryoppippi
Copy link
Contributor Author

I think this needs to be merged soon

Copy link
Owner

@samchon samchon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. I'll publish it until Saturday.

@samchon samchon added the enhancement New feature or request label Jul 5, 2024
@samchon samchon merged commit ac87aa8 into samchon:master Jul 5, 2024
7 checks passed
@ryoppippi ryoppippi deleted the feature/add-side-effect branch July 5, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants