Open uhteddy opened 2 hours ago
I'm not currently aware of any way to directly check the version being used in a svelte file so my idea would be to default to svelte 4 and allow a -sv <svelte-version>
or --svelte-version <svelte-version>
flag to be included.
Currently svelte-bundle is not equipped to handle Svelte 5. Meaning if a user attempts to build a svelte file that utilizes syntax from Svelte 5, such as runes, they will face an error causing svelte-bundle to exit.