fix(vite): support jsx namespaces (#3539)
Babel throws when encountering jsx namespaces by default. It needs a setting to not throw.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export default function Page() {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xml:space="preserve"
|
||||
>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user