Has anyone managed to make lit elements with svelte work? Every time I try to use it, vite chrashes with an error stating to put it in the rollup external deps.
In more detail, I've been trying to use carbon-for-ibm-dotcom (https://www.npmjs.com/package/@carbon/ibmdotcom-web-components)(not to be confused with carbon-components-svelte). Is there a way to use it in svelte? The package works universally and should work with svelte.
I've tried to import it directly, for some reason it cant import ES6 scripts. Which works when running the site in dev, but chrashes when building it. (Vite errors out and reports to put it in an external dependency). Even when doing that, it still errors out. Is there an option, or alternative method to handle this? Thank you!