Closed
Description
Describe the bug
As of Svelte 5 RC releases, it is impossible to use Unicode alphanumeric characters to name a component.
For example, mixing different writing systems, having a file Cæжαकン中.svelte
and trying to do import Cæжαकン中 from "./Cæжαकン中.svelte";
and <Cæжαकン中 />
now throws the error: Expected a valid element or component name. Components must have a valid variable name or dot notation expression
.
It used to work in Svelte 4.
Reproduction
Logs
N/A
System Info
N/A
Severity
annoyance