Skip to content

Vite "missing exports condition" warning for Svelte Splide #1258

Open
@Nintron27

Description

@Nintron27

Checks

Version

4.1.4

Description

vite-plugin-svelte throws the following warning on the @splidejs/svelte-splide package:

7:02:25 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

@splidejs/[email protected]
@splidejs/[email protected]

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

Reproduction Link

No response

Steps to Reproduce

  1. Update/be running Svelte >= v4 and SvelteKit >= v2
  2. Run npm run dev in your SvelteKit project

Expected Behaviour

Not have the error thrown. I'm not sure internally how Splide Svelte works, but perhaps this warning is applicable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions