Skip to content

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

@RangHo

Description

@RangHo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions