Skip to content

Commit bc6bb88

Browse files
author
Bruce Taylor
committed
Added netlify config.
1 parent ebcfcf0 commit bc6bb88

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ yarn-error.log*
1919
*.njsproj
2020
*.sln
2121
*.sw?
22+
23+
# Local Netlify folder
24+
.netlify

netlify.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# example netlify.toml
2+
[build]
3+
command = "npm run build"
4+
functions = "functions"
5+
publish = "dist"
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/cli/blob/master/docs/netlify-dev.md#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)