Skip to content

perf: mark package as side-effect free#753

Merged
43081j merged 1 commit into
e18e:mainfrom
TheAlexLichter:perf/side-effects-false
Jun 25, 2026
Merged

perf: mark package as side-effect free#753
43081j merged 1 commit into
e18e:mainfrom
TheAlexLichter:perf/side-effects-false

Conversation

@TheAlexLichter

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Supersedes #751

📚 Description

Set sideEffects to false. This lets bundlers like rolldown tree-shake unused manifest JSON when consumers import helpers from the root module-replacements entry.

For resolveDocUrl, the root import drops from about 26.6 KB gzipped to about 242 B gzipped.

Co-authored-by: paul valladares <85648028+dreyfus92@users.noreply.github.com>
@43081j 43081j merged commit b5c848f into e18e:main Jun 25, 2026
4 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.

3 participants