svelte-carousel icon indicating copy to clipboard operation
svelte-carousel copied to clipboard

svelte-carousel don't appear to be written in CJS

Open lbk2knewlifegithub opened this issue 2 years ago • 5 comments

image

I use SvelteKit and Typescript

lbk2knewlifegithub avatar Feb 14 '22 07:02 lbk2knewlifegithub

Facing the same error, currently.

yndotdev avatar Feb 22 '22 06:02 yndotdev

same here

aditiakusuma avatar Feb 26 '22 12:02 aditiakusuma

@yndotdev & @aditiakusuma

See comments here: https://github.com/vadimkorr/svelte-carousel/issues/27

OClement avatar Mar 19 '22 23:03 OClement

Just add "type": "module" to package.json

edit: I mean to the maintainers of this library to do so

Tal500 avatar Sep 11 '22 17:09 Tal500

@yndotdev & @aditiakusuma

See comments here: #27

While this works, it would be great if the issue was resolved.

balkhalz avatar Oct 04 '22 10:10 balkhalz

adding "type": "module", to package.json seems to indicate that this is a viable fix. although the component did run fine for me even without it.

michapixel avatar Dec 16 '22 10:12 michapixel

adding "type": "module", to package.json seems to indicate that this is a viable fix. although the component did run fine for me even without it.

It's a matter of how modern your environment is, the more modern the stricter it is.

Tal500 avatar Dec 16 '22 12:12 Tal500

Should be fixed in https://github.com/vadimkorr/svelte-carousel/pull/126

vadimkorr avatar Jan 21 '23 21:01 vadimkorr