Add netlify.toml
This commit is contained in:
parent
27a259a671
commit
c6a1a9f050
|
@ -0,0 +1,21 @@
|
|||
# example netlify.toml
|
||||
[build]
|
||||
command = "npm run build"
|
||||
functions = "netlify/functions"
|
||||
publish = "dist"
|
||||
|
||||
## 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/main/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://ntl.fyi/file-based-build-config
|
Loading…
Reference in New Issue