Unable to use only valibot adapter due to unnecessary imports causing build failure
bughelp wantedadapter
- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues.
**Description**
When importing
```ts
import { valibotClient } from "sveltekit-superforms/adapters"
```
the build fails with the error:
```Could not resolve "effect" imported by "sveltekit-superforms". Is it installed?```
My project only uses valibot, but the package imports other validator dependencies (like effect) that are not installed and not needed.
It would be great to be able to import only the required validator adapter directly, for example:
```ts
import { valibotClient } from "sveltekit-superforms/adapters/valibot"
```
22 条评论