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

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

Open
voscausa opened this issue Oct 24, 2023 · 1 comment

Comments

@voscausa
Copy link

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/[email protected]

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
Copy link
Author

voscausa commented Jan 6, 2024

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/[email protected]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant