mirror of https://github.com/sveltejs/svelte
fix: dont error on stores looking like runes when runes explicitly turned off (#9615)
parent
72d3a2a8ce
commit
78a69acfa1
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: dont error on stores looking like runes when runes explicitly turned off
|
@ -0,0 +1,7 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
compileOptions: {
|
||||||
|
runes: false
|
||||||
|
}
|
||||||
|
});
|
@ -0,0 +1,6 @@
|
|||||||
|
<script>
|
||||||
|
import { state } from './store';
|
||||||
|
const x = $state();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{x}
|
Loading…
Reference in new issue