tsparticles / svelte

Svelte tsParticles official plugin
MIT License
43 stars 3 forks source link

Not able to make the lib work with SvelteKit #12

Closed Nderim1 closed 1 year ago

Nderim1 commented 1 year ago

Hi, I have a SvelteKit app and I am trying to include the particle lib to my project by following the svelte docs.

I am experiencing this error: image

Things I did:

Would appreciate any help. Let me know if you need more info.

matteobruni commented 1 year ago

Have you tried setting ”type”: “module” in your package.json?

Shrumpf commented 1 year ago

Same here after updating from 2.9.3 to 2.10.1.

matteobruni commented 1 year ago

Same here after updating from 2.9.3 to 2.10.1.

If you need please open a new issue with a reproducible sample or steps to reproduce the problem