vuejs / core

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
https://vuejs.org/
MIT License
47.75k stars 8.35k forks source link

Vapor mode #12359

Open yyx990803 opened 1 week ago

yyx990803 commented 1 week ago

This is a WIP draft merging Vapor development back into the main repo.

github-actions[bot] commented 1 week ago

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 81.9 kB 28.5 kB 25.1 kB
compiler-vapor.global.prod.js 59.2 kB 19.7 kB 17.9 kB
runtime-dom.global.prod.js 100 kB (+51 B) 38 kB (+6 B) 34.2 kB (-2 B)
runtime-vapor.global.prod.js 45.6 kB 17.1 kB 15.7 kB
vue-vapor.global.prod.js 102 kB 35.2 kB 31.8 kB
vue.global.prod.js 159 kB (+97 B) 57.9 kB (+17 B) 51.5 kB (+47 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 47.2 kB (+246 B) 18.4 kB (+65 B) 16.8 kB (+62 B)
createApp 55.2 kB (+246 B) 21.3 kB (+53 B) 19.5 kB (+60 B)
createSSRApp 59.2 kB (+246 B) 23 kB (+48 B) 21 kB (-15 B)
defineCustomElement 60 kB (+244 B) 22.9 kB (+46 B) 20.9 kB (+69 B)
vapor 46 kB 17.3 kB 15.8 kB
overall 68.9 kB (+244 B) 26.4 kB (+39 B) 24 kB (-11 B)