svelte-toast
svelte-toast copied to clipboard
Why is svelte-toast recommended to be installed in devDependencies?
The README.md installation instructions is
npm i -D @zerodevx/svelte-toast
but shouldn't it be installed under dependencies since it needs to installed for production?
npm i @zerodevx/svelte-toast
Both are fine. Svelte is frontend and requires a build step, so typically end products are not shipped through npm.