Reduce booking page bundle size (#7131)

* AvailabilityPage Component loaded dynamically

* update next/bundle-analyzer dependency

* Load dynamically SlotPicker and TimezoneDropDown and make some imports refactoring

* Gates functionality Returned

* Replace crypto with md5 dependency to generate gravatar url

* Refactor: AvailableTimes and SlotPicker

* Update next.config.js

* Update SlotPicker.tsx

* Update getEventTypeAppData.ts

---------

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Efraín Rochínandzomars authored and GitHub committed 2023-02-17 12:53:31 -07:00
1 parent 602c813928
commit fd76bc9cab
21 files changed
+533 -464

No files matched your search

@@ -40,7 +40,7 @@ import { WorkflowStep } from "@calcom/prisma/client";
import { TRPCError } from "@trpc/server";
import { router, authedProcedure, authedRateLimitedProcedure } from "../../trpc";
import { router, authedProcedure } from "../../trpc";
import { viewerTeamsRouter } from "./teams";
function getSender(