Dominik G.
Dominik G.
Here's what i've been experimenting with today: lang.ts ```ts import type { Handle, RequestEvent } from '@sveltejs/kit'; import { init, register, waitLocale, getLocaleFromAcceptLanguageHeader, getLocaleFromNavigator } from 'svelte-intl-precompile'; register('en', () =>...
unfortunate side effect: you have to update your build target to `es2022` for support of TLA
fyi: the test fail in create-svelte is unrelated to this issue and a fix for that is pending in #6866
This only seems to happen with `target: 'esnext'` and components that are included inside `{#if false}` blocks. As soon as you change the target or include the component outside a...
sounds related: https://github.com/vitejs/vite/issues/8330
Worth a try, thanks. The fix for vite is looking to be correct. However I'm not sure we actually want that behavior. Instead it should keep Foo anyways because it...
Note that using a deep import `import Button from '@svelteuidev/core/components/Button/Button.svelte';` together with preBundleSvelteLibraries it does create a small bundle and only sends 27 requests on initial devserver load. Edit:using deep...
This is an interesting problem. The content of the wrapper around `%sveltekit-body%` is "owned" by svelte-kit and hydration removes anything that doesn't belong there :thinking: A different workaround could be...
see also https://kit.svelte.dev/docs/project-structure#project-files-src that mentions this exact scenario when removing the wrapper div
unfortunately prebundleSvelteLibraries is forced true in sveltekit right now as it is passed as an inline option. these have precedence over options specified in the config file. https://github.com/sveltejs/kit/blob/edd815ed7bba7ab88461f9291f924c05a01d1328/packages/kit/src/exports/vite/index.js#L64 introduced here:...