Thanks to visit codestin.com
Credit goes to github.com

Skip to content

perf(client): reduce bundle size#635

Merged
harlan-zw merged 2 commits into
v3from
perf/optimiize-bundle
Jan 6, 2026
Merged

perf(client): reduce bundle size#635
harlan-zw merged 2 commits into
v3from
perf/optimiize-bundle

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Jan 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Minify internal DOM state property names (_t, _e, _p, _s)
  • Simplify conditional logic and reduce code duplication
  • Fix unused regex capturing group in dedupe.ts

- Minify internal property names (_t, _e, _p, _s for DOM state)
- Simplify conditional logic and reduce code duplication
- Fix unused regex capturing group in dedupe.ts
- Update test to use renamed internal field
@harlan-zw harlan-zw changed the base branch from main to v3 January 6, 2026 04:07
@github-actions

github-actions Bot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Bundle Size Gzipped
Client (Minimal) 11.2 kB → 10 kB 🟢 1.2 kB 4.7 kB → 4.1 kB 🟢 0.5 kB
Server (Minimal) 10.1 kB → 9.7 kB 🟢 0.5 kB 4.2 kB → 4 kB 🟢 0.2 kB
Vue Client (Minimal) 12.3 kB → 11.1 kB 🟢 1.2 kB 5.1 kB → 4.6 kB 🟢 0.5 kB
Vue Server (Minimal) 11 kB → 10.6 kB 🟢 0.5 kB 4.5 kB → 4.4 kB 🟢 0.2 kB

@harlan-zw harlan-zw merged commit 4c4a72c into v3 Jan 6, 2026
5 checks passed
@harlan-zw harlan-zw mentioned this pull request Apr 4, 2026
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.

1 participant