Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export_undef when exporting from a <script module> #14618

Closed
huntabyte opened this issue Dec 8, 2024 · 0 comments · Fixed by #14620
Closed

export_undef when exporting from a <script module> #14618

huntabyte opened this issue Dec 8, 2024 · 0 comments · Fixed by #14620

Comments

@huntabyte
Copy link
Member

huntabyte commented Dec 8, 2024

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 #14315 ?

Reproduction

REPL (latest 5.9.0)
REPL (break introduced 5.5.0)
REPL (last working 5.4.0)

Check the Another.svelte file for the error.

Logs

No response

System Info

REPL

Severity

blocking an upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant