From 8b4c2909de6ebc4917a098838a756f02bbaad7d7 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:49:32 +0800 Subject: [PATCH] chore(website): fix vercel.json (#15) #### What this PR does / why we need it: As per title. --- website/turbo.json | 4 ++++ website/vercel.json | 1 + 2 files changed, 5 insertions(+) diff --git a/website/turbo.json b/website/turbo.json index ccf200ac2..19479e4dd 100644 --- a/website/turbo.json +++ b/website/turbo.json @@ -2,6 +2,10 @@ "$schema": "https://turborepo.org/schema.json", "extends": ["//"], "pipeline": { + "build": { + "outputs": [".next/**", "!.next/cache/**"], + "dependsOn": ["^build"] + }, "dev": { "cache": false, "persistent": true, diff --git a/website/vercel.json b/website/vercel.json index e6a3fcfc1..ce8d1c1bf 100644 --- a/website/vercel.json +++ b/website/vercel.json @@ -2,5 +2,6 @@ "$schema": "https://openapi.vercel.sh/vercel.json", "installCommand": "pnpm install", "buildCommand": "pnpm turbo run build", + "outputDirectory": ".next", "framework": "nextjs" }