Skip to content

prefer svelte exports condition over svelte field for resolving libraries #725

@dominikg

Description

@dominikg

Describe the problem

We want to remove support for svelte field altogether at some point, take gradual steps to ensure existing libraries can update to not hit users with errors.

Describe the proposed solution

Start prefering the exports condition value over svelte field, add a more persistent/pressing warning for libraries that only use svelte field to switch to exports.

In a following major, drop svelte field resolve entirely. (possibly together with adding svelte 5 support)

Alternatives considered

give it more time.

Importance

would make my life easier

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingbreaking change - requires a major release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions