Skip to content

build: reduce dist size by stripping comments#1235

Merged
pi0 merged 2 commits intomainfrom
build/strip-comments
Oct 27, 2025
Merged

build: reduce dist size by stripping comments#1235
pi0 merged 2 commits intomainfrom
build/strip-comments

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Oct 27, 2025

Comments are already extracted to dts files.

Stripping them from .mjs bundle saves ~30kB!

@pi0 pi0 force-pushed the build/strip-comments branch from 13abb25 to 50def34 Compare October 27, 2025 11:47
@pi0 pi0 merged commit 241a45b into main Oct 27, 2025
4 checks passed
@pi0 pi0 deleted the build/strip-comments branch October 27, 2025 11:48
@productdevbook
Copy link
Copy Markdown
Member

When will we reach zero kb? :D

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