Replies: 1 comment
-
Digging into the issues a little bit further, I think it's related to the following issues: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey 👋,
I'm experimenting with moving my Astro 4 static site to a SvelteKit 5 static site as I've grown quite fond of Svelte's concepts enough to move the entire thing over.
I've followed all the instructions listed in https://svelte.dev/docs/kit/adapter-static and have a successful build working. However, I'm noticing that the Svelte bundle is larger and also shipping
.js
chunks whereas the Astro one is not. The following screenshots are network requests of the homepage which has been ported over and has the same look/feel:Astro
(7 requests)SvelteKit
(21 requests)From what I can see, Vite is still building the project as if SSR was enabled as it says so in the logs:
But I do know that the static adapter is being used:
I'd greatly appreciate if someone is able to help me understand if this behaviour is intended, and if so, why?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions