Is it intended for Alpine 3 to be so much larger? #1470
-
|
I'm guessing it's because it uses Vue reactivity under the hood? But I just saw an example demo go from 28kb minified to 44kb minified. Or 9kb gzipped to 16.6kb gzipped. It's almost double the size. Not that this is huge or anything. Just that I saw Alpine advertised at 8.5kb at AlpineDay. Maybe they were talking about Alpine 2. Just wanted to confirm. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 17 replies
-
|
Alpine 2.x was definitely smaller. The new |
Beta Was this translation helpful? Give feedback.
-
|
I am still seeing a 13KB savings from doing |
Beta Was this translation helpful? Give feedback.
-
|
Bundlephobia is showing that AlpineJS doubled in size in the v3 release. Is there a way to avoid the package increase when updating to v3? One of the main reasons we are considering Alpine is because of the tiny package size. |
Beta Was this translation helpful? Give feedback.
-
|
Is it possible to get closer to |
Beta Was this translation helpful? Give feedback.
-
|
Is there an actual reason or some issues you are experiencing (slowness or something like that)? |
Beta Was this translation helpful? Give feedback.
Alpine 2.x was definitely smaller. The new
@vue/reactivitypackage is somewhere around 6kb minified + gzipped alone. Along with all of the new features and rewritten core, 3.x is definitely larger.