mirror of https://github.com/sveltejs/svelte
parent
c2fb1a6df1
commit
2fedd765e8
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: hoist reactive imports to the module
|
||||
@ -0,0 +1,3 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({});
|
||||
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
id: 0
|
||||
};
|
||||
@ -0,0 +1,4 @@
|
||||
<script context="module">
|
||||
import defaults from './defaults.js';
|
||||
defaults.id++;
|
||||
</script>
|
||||
Loading…
Reference in new issue