Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔧 Pin turbopack.root so worktrees resolve their own lockfile (#2682)

Luke Vellaba208499e22d
diff --git a/apps/landing/next.config.ts b/apps/landing/next.config.ts
index bfdbbee80..7a9edd3ba 100644
--- a/apps/landing/next.config.ts
+++ b/apps/landing/next.config.ts
@@ -1,3 +1,4 @@
+import path from "node:path";
import createBundleAnalyzer from "@next/bundle-analyzer";
import type { NextConfig } from "next";
@@ -42,6 +43,7 @@ const nextConfig: NextConfig = {
],
},
turbopack: {
+ root: path.join(__dirname, "../.."),
rules: {
"*.svg": {
loaders: ["@svgr/webpack"],
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index c443ed26e..e02962dfa 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -3,6 +3,7 @@
// https://nextjs.org/docs/api-reference/next.config.js/introduction
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
+import path from "node:path";
import createBundleAnalyzer from "@next/bundle-analyzer";
import { withSentryConfig } from "@sentry/nextjs";
import type { NextConfig } from "next";
@@ -38,6 +39,7 @@ const nextConfig: NextConfig = {
return config;
},
turbopack: {
+ root: path.join(__dirname, "../.."),
rules: {
"*.svg": {
loaders: ["@svgr/webpack"],