-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
31 lines (26 loc) · 856 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
30
31
# example netlify.toml
[build]
command = "npm run deploy-build"
functions = "functions"
publish = "_site"
## (optional) Settings for Netlify Dev
## https://github.com/netlify/netlify-dev-plugin#project-detection
[dev]
command = "npm run serve" # Command to start your dev server
# publish = "_site" # Folder with the static content for _redirect file
# targetPort = 8080
# port = 8082
framework = "eleventy"
[functions]
node_bundler = "zisi"
[functions.opengraph-image-generator]
node_bundler = "zisi"
external_node_modules = ["playwright-core", "lambdafs"]
included_files = ["functions/opengraph-image-generator/image.js"]
[environment]
#AWS_LAMBDA_JS_RUNTIME="nodejs14.x"
[[headers]]
for = "/*"
[headers.values]
Permissions-Policy = "interest-cohort=()"
## more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/