Skip to content

Commit 4eba38a

Browse files
author
sw-yx
committed
netlify toml
1 parent 0e6e6d7 commit 4eba38a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.netlify/state.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"siteId": "8735a792-f81b-4dae-bdf7-cc3dc00be487"
3+
}

netlify.toml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# example netlify.toml
2+
[build]
3+
command = "cd example && yarn build"
4+
functions = "functions"
5+
publish = "cd example/build"
6+
7+
## Uncomment to use this redirect for Single Page Applications like create-react-app.
8+
## Not needed for static site generators.
9+
#[[redirects]]
10+
# from = "/*"
11+
# to = "/index.html"
12+
# status = 200
13+
14+
## (optional) Settings for Netlify Dev
15+
## https://github.com/netlify/netlify-dev-plugin#project-detection
16+
#[dev]
17+
# command = "yarn start" # Command to start your dev server
18+
# port = 3000 # Port that the dev server will be listening on
19+
# publish = "dist" # Folder with the static content for _redirect file
20+
21+
## more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/

0 commit comments

Comments
 (0)