Bit.dev bundler to handle svelte components.
To use it simply run:
bit import hampuslavin.ps-lib/svelte-bundler --compiler
bit build
This bundler outputs a JS bundle which exports a web component.