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