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 #216

Closed
6 tasks done
ilyakamens opened this issue Aug 16, 2024 · 0 comments · Fixed by #217
Closed
6 tasks done

Missing exports condition #216

ilyakamens opened this issue Aug 16, 2024 · 0 comments · Fixed by #217
Labels
Svelte Issue with Tailwind Mobile Svelte

Comments

@ilyakamens
Copy link
Contributor

Check that this is really a bug

  • I confirm

Reproduction link

https://stackblitz.com/edit/konsta-svelte-abcxv9

Bug description

Building or running a Svelte app with Konsta produces the following warning:

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

[email protected]

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

The following is taken from the FAQ linked to in the output:

If you see a warning logged for this when using a Svelte library, please tell the library maintainers.

vite-plugin-svelte version 3.1.1.

Expected Behavior

The warning shouldn't appear when building the app.

Actual Behavior

The warning appears when building the app.

Konsta UI version

3.1.3

Platform/Target and Browser Versions

Capacitor / mobile webviews / macOS browsers

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Konsta UI issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@ilyakamens ilyakamens added the Svelte Issue with Tailwind Mobile Svelte label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Svelte Issue with Tailwind Mobile Svelte
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant