framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.15k stars 3.23k forks source link

Svelte. Framework 7 build warning #4259

Closed ievgennaida closed 8 months ago

ievgennaida commented 8 months ago

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.