Skip to content

Commit 97821bc

Browse files
authored
fix: hot-fix turbo env variables
1 parent 248ddc0 commit 97821bc

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

turbo.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@
1313
"{app,pages}/**/*.{mdx,md}",
1414
"*.{md,mdx,json,ts,tsx,mjs,yml}"
1515
],
16-
"outputs": [".next/**", "!.next/cache/**"]
16+
"outputs": [".next/**", "!.next/cache/**"],
17+
"env": [
18+
"NEXT_PUBLIC_VERCEL_ENV",
19+
"NEXT_STATIC_EXPORT",
20+
"NEXT_PUBLIC_BASE_URL",
21+
"NEXT_PUBLIC_VERCEL_URL",
22+
"NEXT_PUBLIC_DIST_URL",
23+
"NEXT_PUBLIC_DOCS_URL",
24+
"NEXT_PUBLIC_BASE_PATH"
25+
]
1726
},
1827
"start": {
1928
"cache": false,
@@ -27,7 +36,16 @@
2736
"{app,pages}/**/*.{mdx,md}",
2837
"*.{md,mdx,json,ts,tsx,mjs,yml}"
2938
],
30-
"outputs": [".next/**", "!.next/cache/**"]
39+
"outputs": [".next/**", "!.next/cache/**"],
40+
"env": [
41+
"NEXT_PUBLIC_VERCEL_ENV",
42+
"NEXT_STATIC_EXPORT",
43+
"NEXT_PUBLIC_BASE_URL",
44+
"NEXT_PUBLIC_VERCEL_URL",
45+
"NEXT_PUBLIC_DIST_URL",
46+
"NEXT_PUBLIC_DOCS_URL",
47+
"NEXT_PUBLIC_BASE_PATH"
48+
]
3149
},
3250
"lint:js": {
3351
"inputs": [

0 commit comments

Comments
 (0)