Skip to content

Enable full minification for the web library bundle - #862

Merged
markmur merged 1 commit into
mainfrom
web-full-output-minification
Oct 2, 2026
Merged

markmur merged 1 commit into
mainfrom
web-full-output-minification

Conversation

@markmur

@markmur markmur commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Vite’s ES-library output compresses and mangles code while retaining formatting and region comments. Enable full Oxc output minification, including compact code generation, for the web library bundle.

JavaScript decreases from 42,811 to 34,073 bytes (20.4%), and deterministic gzip decreases from 11,719 to 10,458 bytes (10.8%). This PR changes only the Vite output configuration.

Stack

@markmur
markmur added this pull request to stack #863 October 2, 2026 08:32
@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Oct 2, 2026
@markmur markmur changed the title web full output minification Enable full minification for the web library bundle Oct 2, 2026
@markmur markmur self-assigned this Oct 2, 2026
@markmur
markmur marked this pull request as ready for review October 2, 2026 08:35
@markmur
markmur requested a review from a team as a code owner October 2, 2026 08:35
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Web — Coverage Report

Lines Statements Branches Functions
Coverage: 96%
95.16% (374/393) 84.32% (199/236) 97.08% (100/103)

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
Web npm tarball 90.8 KiB 89.3 KiB -1.5 KiB
Web file breakdown
File Base Head Delta
dist/index.js.map 249.3 KiB 249.1 KiB -237 B
dist/index.d.ts 47.9 KiB 47.9 KiB 0 B
dist/custom-elements.json 47.5 KiB 47.5 KiB 0 B
dist/index.js 41.8 KiB 33.3 KiB -8.5 KiB
README.md 20.1 KiB 20.1 KiB 0 B
package.json 2.9 KiB 2.9 KiB 0 B
LICENSE 1.1 KiB 1.1 KiB 0 B

Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report.

@markmur
markmur removed this pull request from stack #863 October 2, 2026 08:57
@markmur
markmur added this pull request to stack #865 October 2, 2026 08:57
@markmur
markmur merged commit b53af0e into main Oct 2, 2026
48 checks passed
@markmur
markmur deleted the web-full-output-minification branch October 2, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants