-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
26 lines (22 loc) · 889 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
# example netlify.toml
[build]
command = "npm run build"
functions = "functions"
publish = "build"
## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file
# more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/
[context.production]
publish = "build/"
command = "make publish"
environment = { ACCESS_TOKEN = "super secret", NODE_VERSION = "14.15.3" }