File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ CYPRESS_CACHE_FOLDER = "../node_modules/.CypressBinary"
10
10
# set TERM variable for terminal output
11
11
TERM = " xterm"
12
12
NODE_VERSION = " 16.15.1"
13
+ NEXT_SPLIT_API_ROUTES = " true"
13
14
14
15
[[headers ]]
15
16
for = " /_next/image/*"
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ command = "npm run build"
3
3
publish = " .next"
4
4
ignore = " if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;"
5
5
6
+ [build .environment ]
7
+ NEXT_SPLIT_API_ROUTES = " true"
8
+
6
9
[[plugins ]]
7
10
package = " @netlify/plugin-nextjs"
8
11
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ command = "npm run build"
3
3
publish = " dist/apps/demo-monorepo/.next"
4
4
ignore = " if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;"
5
5
6
+ [build .environment ]
7
+ NEXT_SPLIT_API_ROUTES = " true"
8
+
6
9
[dev ]
7
10
command = " npm run start"
8
11
targetPort = 4200
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ command = "next build"
3
3
publish = " .next"
4
4
ignore = " if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;"
5
5
6
+ [build .environment ]
7
+ NEXT_SPLIT_API_ROUTES = " true"
8
+
6
9
[[plugins ]]
7
10
package = " @netlify/plugin-nextjs"
8
11
You can’t perform that action at this time.
0 commit comments