From f4b6a16a9e28910ca2ef54c54723b7c702977a74 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Thu, 3 Mar 2022 19:19:25 +0000 Subject: [PATCH] Enable Hotreload for packages (#2051) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Omar López --- apps/web/next.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index cc986162..6c4e1334 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -1,8 +1,4 @@ -const withTM = require("@vercel/edge-functions-ui/transpile")([ - "@calcom/lib", - "@calcom/prisma", - "@calcom/ui", -]); +const withTM = require("next-transpile-modules")(["@calcom/lib", "@calcom/prisma", "@calcom/ui"]); const { i18n } = require("./next-i18next.config"); // So we can test deploy previews preview