Skip to content

Add sideEffects: false to package.json#19

Merged
onlywei merged 1 commit intomainfrom
claude/add-side-effects-flag-8YEDU
Jan 16, 2026
Merged

Add sideEffects: false to package.json#19
onlywei merged 1 commit intomainfrom
claude/add-side-effects-flag-8YEDU

Conversation

@onlywei
Copy link
Owner

@onlywei onlywei commented Jan 16, 2026

This enables better tree-shaking in bundlers like webpack and rollup. Since
this library only exports pure functions, types, and classes without any
module-level side effects, marking it as side-effect-free allows bundlers to
safely remove unused exports, reducing bundle sizes for consumers.

This enables better tree-shaking in bundlers like webpack and rollup. Since
this library only exports pure functions, types, and classes without any
module-level side effects, marking it as side-effect-free allows bundlers to
safely remove unused exports, reducing bundle sizes for consumers.
@changeset-bot
Copy link

changeset-bot bot commented Jan 16, 2026

🦋 Changeset detected

Latest commit: 7c135b9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitlab-dynamic-pipelines Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@onlywei onlywei merged commit a789777 into main Jan 16, 2026
2 checks passed
@onlywei onlywei deleted the claude/add-side-effects-flag-8YEDU branch January 16, 2026 17:33
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