From b14e7567bddab8ecbb54dd7e20904d4948a2a01b Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Wed, 20 Dec 2023 19:17:12 +0100 Subject: [PATCH] add yarn resolutions to solve swc bug --- package.json | 3 +++ packages/playground-react/package.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 9b4d01745b..18e9b8a401 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ "workspaces": [ "packages/*" ], + "resolutions": { + "next/@swc/helpers": "0.4.36" + }, "scripts": { "react": "yarn workspace @headlessui/react", "react-playground": "yarn workspace playground-react dev", diff --git a/packages/playground-react/package.json b/packages/playground-react/package.json index 803a3fbe65..d17da5f73c 100644 --- a/packages/playground-react/package.json +++ b/packages/playground-react/package.json @@ -33,5 +33,8 @@ }, "devDependencies": { "@floating-ui/react": "^0.24.8" + }, + "resolutions": { + "next/@swc/helpers": "0.4.36" } }