r/sveltejs • u/random-guy157 • 8h ago
Is Sveltekit v3 failing on you, people with an app.html file renamed using appTemplate option?
This is happening to me. I already knew sveltekit sync had an issue, but this never prevented building. Now I'm upgrading `@svelte-router/core` to Sveltekit v3 and the project doesn't build because I renamed app.html.
Anyway, tips appreciated. Thanks!
UPDATE
Nevermind. Found the issue. The thing is that the newest Sveltepress for Sveltekit v3 creates its own Sveltekit plug-in, so adding the Svelte plug-in oneself is a mistake because then there are two: One configured with the appTemplate setting, and one with the default value. This is what causes the error. The solution is to configure the Sveltekit plug-in via the Sveltepress plug-in and of course, not add oneself the extra sveltekit() plug-in.