Skip to content

Commit 64b93f5

Browse files
authored
Fix marketing Vercel output config (#164)
1 parent 6e98abf commit 64b93f5

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

apps/marketing/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

apps/marketing/next.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
turbopack: {
4+
root: new URL("../..", import.meta.url).pathname,
5+
},
36
typescript: {
47
ignoreBuildErrors: true,
58
},

turbo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"dependsOn": ["^build"],
1919
"outputs": ["dist/**", "dist-electron/**"]
2020
},
21+
"@okcode/marketing#build": {
22+
"dependsOn": ["^build"],
23+
"outputs": [".next/**", "!.next/cache/**"]
24+
},
2125
"dev": {
2226
"dependsOn": ["@okcode/contracts#build"],
2327
"cache": false,

vercel.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"buildCommand": "bun run build:marketing",
4+
"installCommand": "bun install",
5+
"outputDirectory": "apps/marketing/.next"
6+
}

0 commit comments

Comments
 (0)