Vue3 lib bundle size is unexpectedly large #8813
Replies: 8 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Same here, that's very confusing, it seems like the tree-shaking didn't work correctly, but actually the tree-shaking behaved correctly. |
Beta Was this translation helpful? Give feedback.
-
Not sure where this data comes from. Maybe it has been outdated. I suggest checking the size report on a recent PR like #9301 (comment) |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, we only use Why is my bundle 3 times as large? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
dist/assets/@vue.js 63.89 kB |
Beta Was this translation helpful? Give feedback.
-
@AlexanderSlesarenko How to get that green diagram ?? Some tool or? |
Beta Was this translation helpful? Give feedback.
-
Just came from web components. Using two simple SFC (one click counter, one one static div), decoupled with dynamic imports, I end up with (210kb) 47kb as brotli. runtime-core is now (136kb) 28kb, shared (8kb) 3kb, runtime-dom (25kb) 7kb and reactivity (39kb) 9kb. Thats what gets build with vue 3.5.22.
Am I missing something, but the bare minimum (looking through the upper comments) will be 28kb today, right? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,

I found a statement about Vue 3 bundle size:
In my project you can see the following size:

How I use Vue?
import { createApp } from 'vue'
and something like
import { ref, computed, watch } from 'vue'
.Do I have correct size or maybe I do some mistakes?
Beta Was this translation helpful? Give feedback.
All reactions