feat: Reduce bundle size via better imports + install gcal + gvideo by default for google signups (#17810)

* wip

* use light imports

* fix

* perf: Reduce bundle size via better imports with `googleapis` (#17811)

* fix test

* refactor

* update vite.config.js

* fix

* fix unit test failing
This commit is contained in:
Benny Joo authored and GitHub committed 2024-12-06 02:51:48 +00:00
1 parent f75415e414
commit b8219c273d
27 files changed
+383 -279

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import type {
SelectedCalendar as _SelectedCalendar,
} from "@prisma/client";
import type { Dayjs } from "dayjs";
import type { calendar_v3 } from "googleapis";
import type { calendar_v3 } from "@googleapis/calendar";
import type { Time } from "ical.js";
import type { TFunction } from "next-i18next";
import type z from "zod";