mirror of https://github.com/sveltejs/svelte
fix: maintain imports in modules (#12704)
* fix: maintain imports in modules * chore: add snapshot testpull/12707/head
parent
31659508b0
commit
70197fe4ca
@ -0,0 +1 @@
|
||||
export * from '../../export.js';
|
@ -0,0 +1,7 @@
|
||||
import "svelte/internal/disclose-version";
|
||||
import * as $ from "svelte/internal/client";
|
||||
import { random } from './module.svelte';
|
||||
|
||||
export default function Imports_in_modules($$anchor) {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
/* module.svelte.js generated by Svelte VERSION */
|
||||
import * as $ from "svelte/internal/client";
|
||||
import { random } from './export';
|
||||
|
||||
export { random };
|
@ -0,0 +1 @@
|
||||
export * from '../../export.js';
|
@ -0,0 +1,6 @@
|
||||
import * as $ from "svelte/internal/server";
|
||||
import { random } from './module.svelte';
|
||||
|
||||
export default function Imports_in_modules($$payload) {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
/* module.svelte.js generated by Svelte VERSION */
|
||||
import * as $ from "svelte/internal/server";
|
||||
import { random } from './export';
|
||||
|
||||
export { random };
|
@ -0,0 +1 @@
|
||||
export const random = 42;
|
@ -0,0 +1,3 @@
|
||||
<script>
|
||||
import { random } from './module.svelte';
|
||||
</script>
|
@ -0,0 +1,3 @@
|
||||
import { random } from './export';
|
||||
|
||||
export { random };
|
Loading…
Reference in new issue