Last active
June 10, 2025 09:01
-
-
Save drblue/78f807a1b612db3ce70e129daf4fc092 to your computer and use it in GitHub Desktop.
Revisions
-
drblue revised this gist
May 23, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ # See <https://docs.netlify.com/configure-builds/file-based-configuration/> # for more info on configuring this file. [build] command = "tsc && vite build" functions = "netlify/functions" publish = "dist" -
drblue created this gist
May 22, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ # Netlify Config for Vite React apps # # See <https://docs.netlify.com/configure-builds/file-based-configuration/> # for more info on configuring this file. [build] command = "vite build" functions = "netlify/functions" publish = "dist" [[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