Skip to content

Commit bd7ab07

Browse files
Nigtlify
1 parent 2f451a3 commit bd7ab07

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ out
99
/test.js
1010
/test.ts
1111
.turbo
12+
13+
# Local Netlify folder
14+
.netlify

netlify.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[build]
2+
command = "npm run build --workspace=packages/your-nextjs-app"
3+
publish = "packages/your-nextjs-app/.next"
4+
5+
[functions]
6+
directory = "packages/your-nextjs-app/netlify/functions"
7+
8+
[[redirects]]
9+
from = "/*"
10+
to = "/index.html"
11+
status = 200

0 commit comments

Comments
 (0)