mirror of https://github.com/sveltejs/svelte
parent
9950b22869
commit
e00944ffd1
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: correctly compile component member expressions for SSR
|
||||
@ -0,0 +1 @@
|
||||
<span>x</span>
|
||||
@ -0,0 +1,8 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
mode: ['client', 'server'],
|
||||
|
||||
html: `<span>x</span>`,
|
||||
ssrHtml: `<span>x</span>`
|
||||
});
|
||||
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
import Icon from './Icon.svelte';
|
||||
|
||||
let icons = $state({ currency: { Icon } });
|
||||
const platformIcons = $derived(icons);
|
||||
</script>
|
||||
|
||||
<platformIcons.currency.Icon />
|
||||
Loading…
Reference in new issue