Skip to content

Commit 20048dc

Browse files
committed
chore: configure Netlify deployment
1 parent bf5e0ff commit 20048dc

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
@@ -22,3 +22,6 @@ logs
2222
.env
2323
.env.*
2424
!.env.example
25+
26+
# Local Netlify folder
27+
.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 = "pnpm run build"
4+
functions = "netlify/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/main/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://ntl.fyi/file-based-build-config

0 commit comments

Comments
 (0)