Skip to content

WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. #12

Open
@itaibaruch

Description

@itaibaruch

Checks

Version

0.2.9

Description

Hi,

I got this warning in console:
Screenshot 2024-01-19 at 11 14 55

In the latest version of Vite it's required to specify svelte export:
https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition

Reproduction Link

No response

Steps to Reproduce

  1. npm create svelte@latest my-app
  2. cd my-app
  3. npm install @splidejs/svelte-splide
  4. npm install
  5. npm run dev

Expected Behaviour

no console warning will be great

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