Open
Description
- Before posting an issue, read the FAQ and search the previous issues.
Description
Found in #350
Currently all validation libraries are installed even when they are not used (all optional dependencies).
This is not good for a lot of reasons - wasted space, traffic, package stats update, etc.
From referenced issue it's also visible that some bundlers (vite
in my case) are trying to process/include this dependencies in the bundle which is also not desired.
You can see a massive library size increase: https://packagephobia.com/[email protected]

I've tried different combinations of commands with no luck to install only what I need:
yarn add sveltekit-superforms
yarn add sveltekit-superforms valibot
yarn add sveltekit-superforms -D
yarn add sveltekit-superforms valibot -D
A solution should be found on how to get only used packages π€