How to build with rolldown-vite? #14193
-
We have a large Sveltekit application, so it would be nice with faster builds. Currently, it takes around 2 minutes and 45 seconds to build. Now I'm trying to test out
But I don't think it's actually working, because buildtime is not improved. Is there anything else that must be configured to use vite rolldown? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I think you should see the pr that added support for Rolldown #13747 and the article of July, it seems you also need to reinstall your dependencies as stated in vite docs after adding the override. |
Beta Was this translation helpful? Give feedback.
-
@eltigerchino is there something we have to configure to try rolldown, or is it not supported yet? |
Beta Was this translation helpful? Give feedback.
Hi Alex. It should be as simple as https://vite.dev/guide/rolldown.html#how-to-try-rolldown like what you've done already. However, it also helps if you have the latest versions of SvelteKit and vite-plugin-svelte which enable support for Rolldown. At the very least, you should have
@sveltejs/[email protected]
and[email protected]
See #13738 for remaining issues