Skip to content

Commit fc5c7bd

Browse files
authored
Merge pull request #14 from Intevel/fix-tree-shaking
fix(helpers): improve tree-shaking
2 parents 4d6887c + 5a21ab4 commit fc5c7bd

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

Diff for: src/core/index.ts

+2-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
import {
2-
boolAsString,
3-
checkboxAsString,
4-
intAsString,
5-
numAsString,
6-
uuid,
7-
} from './schemas'
8-
9-
export const vh = {
10-
boolAsString,
11-
checkboxAsString,
12-
intAsString,
13-
numAsString,
14-
uuid,
15-
}
16-
171
export {
182
useSafeValidatedBody,
193
useSafeValidatedParams,
@@ -24,4 +8,6 @@ export {
248
type VSchema,
259
} from './parsers'
2610

11+
export * as vh from './schemas'
12+
2713
export * as v from 'valibot'

0 commit comments

Comments
 (0)