Skip to content
This repository was archived by the owner on Nov 20, 2026. It is now read-only.

fix: allow sideEffects string arrays - #29

Merged
ho991217 merged 2 commits into
toss:mainfrom
XionWCFM:fix/sideeffectfiled
Jun 28, 2026
Merged

ho991217 merged 2 commits into
toss:mainfrom
XionWCFM:fix/sideeffectfiled

Conversation

@XionWCFM

@XionWCFM XionWCFM commented Jun 21, 2026 •

Copy link
Copy Markdown
Contributor

allow package.json sideEffects to be either a boolean or an array of strings

  • add schema regression coverage for both supported forms
  • keep the change scoped to the package.json model validation

@XionWCFM XionWCFM left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

https://webpack.kr/guides/tree-shaking/

By convention, sideEffects accepts a boolean or an array of strings.
Therefore, the schema should be updated to reflect this.

@ho991217 ho991217 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@ho991217
ho991217 merged commit 9bca6c2 into toss:main Jun 28, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants