chore: optimizing bundle size (#13473)

* WIP

* Tree shaking
This commit is contained in:
Omar López authored and GitHub committed 2024-01-30 19:49:29 -03:00
1 parent 4235b32349
commit 7d1c69801e
14 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import tzdata from "tzdata";
import * as z from "zod";
import { z } from "zod";
// @note: This is a custom validation that checks if the timezone is valid and exists in the tzdb library
export const timeZone = z.string().refine((tz: string) => Object.keys(tzdata.zones).includes(tz), {