Update build scripts for apps * Update build scripts for apps Approved-by: Joakim Jäderberg
29 lines
701 B
TOML
29 lines
701 B
TOML
[build]
|
|
command = "yarn build:sas"
|
|
publish = "apps/partner-sas/.next"
|
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/common packages/trpc packages/design-system packages/typescript-config"
|
|
|
|
[context.branch-deploy]
|
|
command = "yarn build:sas"
|
|
|
|
[context.deploy-preview]
|
|
command = "yarn build:sas"
|
|
|
|
[build.environment]
|
|
# set TERM variable for terminal output
|
|
TERM = "xterm"
|
|
|
|
[[plugins]]
|
|
package = "@netlify/plugin-nextjs"
|
|
|
|
# [images]
|
|
# remote_images = [
|
|
# "https://imagevault-stage.scandichotels.com.*",
|
|
# "https://imagevault.scandichotels.com.*",
|
|
# ]
|
|
|
|
[[headers]]
|
|
for = "/_next/static/*"
|
|
[headers.values]
|
|
cache-control = "public, max-age=31536000, immutable"
|