-
Notifications
You must be signed in to change notification settings - Fork 1
/
turbo.json
39 lines (39 loc) · 1018 Bytes
/
turbo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["^build", "build-next", "build-payload"]
},
"build-next": {
"outputs": [".next/**", "!.next/cache/**", "dist/**"],
"env": [
"NEXT_PUBLIC_APP_LOGO_URL",
"NEXT_PUBLIC_APP_NAME",
"NEXT_PUBLIC_APP_URL",
"NEXT_PUBLIC_GOOGLE_ANALYTICS_ID",
"NEXT_PUBLIC_IMAGE_DOMAINS",
"NEXT_PUBLIC_IMAGE_UNOPTIMIZED",
"NEXT_PUBLIC_SENTRY_DSN",
"NEXT_PUBLIC_VERCEL_ENV",
"NEXT_PUBLIC_VERCEL_URL",
"NEXT_RUNTIME",
"GOOGLE_API_KEY",
"PAYLOAD_PUBLIC_APP_URL",
"PAYLOAD_PUBLIC_DEFAULT_LOCALE",
"PAYLOAD_PUBLIC_LOCALES",
"SENTRY_AUTH_TOKEN",
"SENTRY_ORG",
"SENTRY_PROJECT"
]
},
"build-payload": {
"outputs": ["build/**"],
"env": [
"NEXT_PUBLIC_SENTRY_DSN",
"PAYLOAD_PUBLIC_APP_URL",
"PAYLOAD_PUBLIC_DEFAULT_LOCALE",
"PAYLOAD_PUBLIC_LOCALES"
]
}
}
}