Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Add outputFileTracingRoot

Steven Tey18a8688d5e10
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 05231e4e77..3a008aafc7 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -1,5 +1,6 @@
const { PrismaPlugin } = require("@prisma/nextjs-monorepo-workaround-plugin");
const { withAxiom } = require("next-axiom");
+const path = require("path");
const REDIRECT_SEGMENTS = [
"pricing",
@@ -15,6 +16,7 @@ module.exports = withAxiom({
reactStrictMode: false,
transpilePackages: ["shiki", "@dub/prisma", "@dub/email"],
experimental: {
+ outputFileTracingRoot: path.join(__dirname, "../../"),
outputFileTracingIncludes: {
"/api/auth/saml/**": [
"./node_modules/jose/**/*",