Skip to content

Svelte. Framework 7 build warning  #4259

@ievgennaida

Description

@ievgennaida

Warning message when trying to build framework 7 with the vite:

Versions:
"svelte": "4.2.12",
"framework7": "8.3.2",
"framework7-svelte": "8.3.2",
Platform: Chrome pc.

Describe the bug

build warning when the latest vite/svelte/framework 7 is used.

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

framework7-svelte@8.3.2

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

To Reproduce

Steps to reproduce the behavior:

  1. Use latest libs
  2. Run npm run dev

Expected behavior

No build time warning from framework 7..

Actual Behavior

Warning during the build time

Additional context

vite is providing lunk in the warning on how to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions