File tree Expand file tree Collapse file tree 5 files changed +12
-0
lines changed Expand file tree Collapse file tree 5 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ 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
+ NEXT_BUNDLE_BASED_ON_NFT_FILES = " true"
9
+
6
10
[[plugins ]]
7
11
package = " @netlify/plugin-nextjs"
8
12
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ 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"
14
+ NEXT_BUNDLE_BASED_ON_NFT_FILES = " true"
13
15
14
16
[[headers ]]
15
17
for = " /_next/image/*"
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ 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
+ NEXT_BUNDLE_BASED_ON_NFT_FILES = " true"
9
+
6
10
[[plugins ]]
7
11
package = " @netlify/plugin-nextjs"
8
12
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff
5
5
6
6
[build .environment ]
7
7
NEXT_SPLIT_API_ROUTES = " true"
8
+ NEXT_BUNDLE_BASED_ON_NFT_FILES = " true"
8
9
9
10
[dev ]
10
11
command = " npm run start"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff
5
5
6
6
[build .environment ]
7
7
NEXT_SPLIT_API_ROUTES = " true"
8
+ NEXT_BUNDLE_BASED_ON_NFT_FILES = " true"
8
9
9
10
[[plugins ]]
10
11
package = " @netlify/plugin-nextjs"
You can’t perform that action at this time.
0 commit comments