### Describe the bug Starting in Svelte `v5.5.0`, when exporting from a `<script module>` the compiler gives an `export_undef` error that didn't exist in earlier versions. We aren't able to build our apps on 5.5+ because of this. Assuming this was introduced alongside https://github.com/sveltejs/svelte/pull/14315 ? ### Reproduction [REPL (latest 5.9.0)](https://svelte.dev/playground/a75fb073cedf49a9b83b35bb163be6ad?version=5.9.0) [REPL (break introduced 5.5.0)](https://svelte.dev/playground/a75fb073cedf49a9b83b35bb163be6ad?version=5.5.0) [REPL (last working 5.4.0)](https://svelte.dev/playground/a75fb073cedf49a9b83b35bb163be6ad?version=5.4.0) Check the `Another.svelte` file for the error. ### Logs _No response_ ### System Info ```shell REPL ``` ### Severity blocking an upgrade