at vanilla-ts 740 B view raw
1# example netlify.toml 2[build] 3 command = "npm 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