Virtual bundle size impact

An application using a framework adapter also includes virtual core. The table therefore shows the combined payload users evaluate, rather than presenting the smaller adapter file by itself.

PackagerawminminGzminBrotli
Core only17.8 kB17.3 kB6 kB5.41 kB
Core + lit22.2 kB21 kB7.09 kB6.4 kB
Core + preact20.3 kB19.1 kB6.82 kB6.16 kB
Core + react23.6 kB19.4 kB6.92 kB6.24 kB
Core + solid21.2 kB19.8 kB7.11 kB6.41 kB
Core + svelte20.2 kB19.2 kB6.75 kB6.09 kB
Core + vue21 kB19.7 kB7.08 kB6.39 kB

How the numbers are produced

The website build first builds the current workspace packages, reads their published ESM exports, minifies with SWC, and generates raw, gzip, and Brotli sizes. Peer frameworks such as React, Vue, or Lit are external and are not included.

Core and adapter files are measured separately and added in the table. This is a conservative compressed estimate: a final application bundle may compress shared tokens together and tree-shake unused exports. Use these values to compare adapter impact, then measure the production application for an exact result.