beyonk-group / svelte-notifications

Svelte toast notifications component that can be used in any JS application
310 stars 24 forks source link

vite-plug-in warning: resolve config in packaage json can causa problems #50

Open voscausa opened 1 year ago

voscausa commented 1 year ago

17:53:08 [vite-plugin-svelte] WARNING: The following packages use a svelte resolve configuration in package.json that has conflicting results and is going to cause problems future.

@beyonk/svelte-notifications@4.2.0

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#conflicts-in-svelte-resolve for details.

{ "name": "fs-...", "version": "2.20.5", "author": "voscausa", "repository": { "type": "git", "url": "https://github.com/voscausa/..." // not public }, "license": "MIT", "type": "module", "scripts": { "dev": "vite", "emu": "vite --mode emu_dev", "build": "vite build", "serve": "vite preview" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.4.6", "@voscausa/svelte-use-validate": "^1.4.3", "eslint": "^8.46.0", "eslint-plugin-svelte": "^2.33.2", "svelte": "^4.2.1", "vite": "^4.4.9" }, "dependencies": { "@beyonk/svelte-notifications": "^4.2.0", "firebase": "^10.3.1", "jszip": "^3.7.1", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0", "rxfire": "^6.0.5", "rxjs": "^7.8.1" } }

voscausa commented 10 months ago

More info about this warning using vite 5.0.3 now:

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

@beyonk/svelte-notifications@4.2.0

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