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

Missing exports condition warning from vite-plugin-svelte #56

Open
bivashy opened this issue Jul 25, 2024 · 1 comment
Open

Missing exports condition warning from vite-plugin-svelte #56

bivashy opened this issue Jul 25, 2024 · 1 comment

Comments

@bivashy
Copy link

bivashy commented Jul 25, 2024

Description

This repository uses an obsolete export condition, I've been instructed to inform you about this warning.

How to reproduce

  1. Initialize basic SvelteKit project (See https://kit.svelte.dev/docs/creating-a-project)
  2. Install svelte-oidc (npm install @dopry/svelte-oidc)
  3. Run project (npm run dev)
  4. Warning should appear in your terminal

Warning:

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

@dopry/[email protected]

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

How to fix

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

image

@dopry
Copy link
Owner

dopry commented Aug 1, 2024

I'm open to a PR.

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

2 participants