What not to do when publishing a Svelte component locally

Summary Using local dependency like "your-package": "file:../some-path" or npm link doesn&apos;t work with Svelte because you will have duplicated Svelte runtimes. What works is to use npm pack and then npm install <path_to_tgz> Bundlers look for Svelte