svelte-toast icon indicating copy to clipboard operation
svelte-toast copied to clipboard

Why is svelte-toast recommended to be installed in devDependencies?

Open TriStarGod opened this issue 1 year ago • 1 comments

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

TriStarGod avatar Feb 01 '25 18:02 TriStarGod

Both are fine. Svelte is frontend and requires a build step, so typically end products are not shipped through npm.

zerodevx avatar Feb 02 '25 10:02 zerodevx