svelte-range-slider-pips icon indicating copy to clipboard operation
svelte-range-slider-pips copied to clipboard

fix: add `exports` field to package.json for Svelte entry point

Open oekazuma opened this issue 1 year ago • 4 comments

fix: https://github.com/simeydotme/svelte-range-slider-pips/issues/125

This fix should eliminate the annoying warnings.

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

[email protected]

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

oekazuma avatar Jan 24 '24 02:01 oekazuma

Any update on this ?

julien-blanchon avatar Apr 14 '24 15:04 julien-blanchon

Any update on this ?

yes @julien-blanchon it's in the beta branch. I just havent had time to fully build and publish it :)

simeydotme avatar Apr 17 '24 17:04 simeydotme

Hi any updates on this ? I am getting the same warning

6:23:32 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

[email protected]

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

change seems pretty simple, isn't it?

orefalo avatar Jun 13 '24 14:06 orefalo

Please merge it to the 2.x

julien-blanchon avatar Jul 10 '24 10:07 julien-blanchon