-
-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
SvelteIssue with Tailwind Mobile SvelteIssue with Tailwind Mobile Svelte
Description
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.
konsta@3.1.3
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition
for details.

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
Metadata
Metadata
Assignees
Labels
SvelteIssue with Tailwind Mobile SvelteIssue with Tailwind Mobile Svelte