forked from livechat/livechat-public-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
29 lines (23 loc) · 924 Bytes
/
netlify.toml
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
[[plugins]]
package = "@netlify/plugin-nextjs"
[[plugins]]
package = "netlify-plugin-cache-nextjs"
[build.environment]
NODE_OPTIONS = "--max_old_space_size=4096"
# Production context: all deploys from the Production branch set in your site’s
# deploy contexts will inherit these settings.
[context.production]
publish = ".next/"
command = "npm run build"
environment = { NODE_VERSION = "14.15.3" }
[[headers]]
for = "/*"
# Deploy Preview context: all deploys generated from a pull/merge request will
[headers.values]
X-Robots-Tag = "noindex"
# Deploy Preview context: all deploys generated from a pull/merge request will
# inherit these settings.
[context.deploy-preview]
publish = ".next/"
command = "npm run build"
environment = { NODE_VERSION = "14.15.3", NEXT_PUBLIC_AMPLITUDE_KEY = "40994eff4abf463415296829984fcf44", NEXT_PUBLIC_ALGOLIA_API_KEY = "f53a424573adab20d04faa2db150c349" }