Skip to content

Commit

Permalink
Merge pull request #14 from Intevel/fix-tree-shaking
Browse files Browse the repository at this point in the history
fix(helpers): improve tree-shaking
  • Loading branch information
sandros94 authored Dec 15, 2024
2 parents 4d6887c + 5a21ab4 commit fc5c7bd
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions src/core/index.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
import {
boolAsString,
checkboxAsString,
intAsString,
numAsString,
uuid,
} from './schemas'

export const vh = {
boolAsString,
checkboxAsString,
intAsString,
numAsString,
uuid,
}

export {
useSafeValidatedBody,
useSafeValidatedParams,
Expand All @@ -24,4 +8,6 @@ export {
type VSchema,
} from './parsers'

export * as vh from './schemas'

export * as v from 'valibot'

0 comments on commit fc5c7bd

Please sign in to comment.