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

@@ -1,5 +1,4 @@
import type { TFunction } from "next-i18next";
import { ReactNode } from "react";
import { APP_NAME, WEBAPP_URL, IS_PRODUCTION } from "@calcom/lib/constants";