Svebcomponents?Building a one-off web component with Svelte is as easy as setting customElement: true in your Svelte config.
However, once you get into building a library of components boilerplate and configuration quickly add up and the developer experience is not as good as it could be.
Svebcomponents is a collection of tools that aim to smoothen the rough edges of building web components with Svelte.
@svebcomponents/build]svebcomponents CLI tool for building web components (based on tsdown ⚡).svebcomponents.config.ts file in your project root and import defineConfig from @svebcomponents/build to define a custom tsdown configuration.@svebcomponents/auto-options]@svebcomponents/ssr]auto-optionsElementRenderer in SvelteKit (or other vite based SSR frameworks)