datocms / datocms-svelte

The DatoCMS library for Svelte
MIT License
12 stars 5 forks source link

Error messages after updating from SvelteKit v1 to v2 #2

Closed ralphwest1 closed 8 months ago

ralphwest1 commented 9 months ago

After updating from SvelteKit v1 to v2 I get the following console error when running pnpm run check

[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
@datocms/svelte@1.2.1
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
sistrall commented 8 months ago

Hi @ralphwest1 , thanks for reporting this.

I should be able to fix the warning in a matter of days.

An upgrade to SvelteKit 2 is definitely needed. :-)

distinctgrey commented 8 months ago

@sistrall any update on this? 😇

sistrall commented 8 months ago

@distinctgrey @ralphwest1 version 1.3.0 fixes the problem. :-)