Skip to content

Commit

Permalink
use deploy dev option
Browse files Browse the repository at this point in the history
  • Loading branch information
TriplEight committed Sep 11, 2023
1 parent 98bd8be commit e2825c0
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# example netlify.toml
[build]
command = "yarn dev"
command = "next build"
functions = "netlify/functions"
publish = ".next"

## 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
## 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
## (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
publish = ".next"

## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/
## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/

0 comments on commit e2825c0

Please sign in to comment.