From 6aa21aceb8eff7a9598e4f4c82e3936988a54530 Mon Sep 17 00:00:00 2001 From: Volnei Munhoz Date: Tue, 21 Oct 2025 09:07:33 -0300 Subject: [PATCH] refactor: remove unused packages from transpiledPackages (#24595) Remove @calcom/embed-react and @calcom/embed-snippet from the transpiledPackages configuration in apps/web/next.config.js as they are not imported from source in apps/web. Only @calcom/embed-core is actually used and requires transpilation since it's imported from source paths like @calcom/embed-core/src/embed-iframe. The other two packages have pre-built dist files and are not directly imported in the web app, so Next.js doesn't need to transpile them. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- apps/web/next.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 25789cdf02..5e4eb4283f 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -1,3 +1,4 @@ +/* eslint-disable */ require("dotenv").config({ path: "../../.env" }); const englishTranslation = require("./public/static/locales/en/common.json"); const { withAxiom } = require("next-axiom"); @@ -223,8 +224,6 @@ const nextConfig = (phase) => { "@calcom/dayjs", "@calcom/emails", "@calcom/embed-core", - "@calcom/embed-react", - "@calcom/embed-snippet", "@calcom/features", "@calcom/lib", "@calcom/prisma",