Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vue): properly cache runtime compilation #12019

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

edison1105
Copy link
Member

@edison1105 edison1105 commented Sep 24, 2024

close #12018
revert #9724
re-fix #9618

Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 101 kB 38 kB 34.2 kB
vue.global.prod.js 160 kB (-27 B) 58 kB (-22 B) 51.5 kB (-11 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 49 kB 18.9 kB 17.2 kB
createApp 55.6 kB 21.4 kB 19.6 kB
createSSRApp 59.6 kB 23.1 kB 21 kB
defineCustomElement 60.4 kB 22.9 kB 20.9 kB
overall 69.3 kB 26.5 kB 24 kB

Copy link

pkg-pr-new bot commented Sep 24, 2024

Open in Stackblitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@12019

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@12019

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@12019

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@12019

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@12019

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@12019

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@12019

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@12019

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@12019

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@12019

vue

pnpm add https://pkg.pr.new/vue@12019

commit: 9a59cee

@edison1105 edison1105 added ready to merge The PR is ready to be merged. 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Sep 24, 2024
@yyx990803 yyx990803 merged commit fa0ba24 into main Sep 26, 2024
15 checks passed
@yyx990803 yyx990803 deleted the edison/fix/12018 branch September 26, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. ready to merge The PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Template is never being cached First created app's config.compilerOptions applies to all later apps
2 participants