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

Svelte 5 deprecates <script context="module"> syntax #3

Closed
RangHo opened this issue Aug 22, 2024 · 1 comment
Closed

Svelte 5 deprecates <script context="module"> syntax #3

RangHo opened this issue Aug 22, 2024 · 1 comment

Comments

@RangHo
Copy link
Owner

RangHo commented Aug 22, 2024

See sveltejs/svelte#12948.

Svelte 5 deprecates the context="module" attribute and replaces it with simple module attribute. Since the Org-mode export attributes are stored in a module-level metadata variable, the generated Svelte component must use the new syntax.

The new syntax will break on Svelte 4 and lower, however.

@RangHo
Copy link
Owner Author

RangHo commented Nov 7, 2024

Fixed in 44128ae.

@RangHo RangHo closed this as completed Nov 7, 2024
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

No branches or pull requests

1 participant