Is there a way to import a Svelte component into a project that does not have Svelte as a dependency? Imagine creating an npm package with a Svelte component and installing it in different projects without needing to add Svelte as a dependency. The package would contain everything it needs to function, making it self-contained.
In my specific case, I cannot use npm to share my Svelte component with other projects. I was thinking of sharing the code directly with those who need it so they can import it as a module, but I'm not sure how to address the dependency issue described above.
Is there a way to create a self-contained method of sharing my Svelte component with projects that need it? Any suggestions? Thank you.