Skip to content

Commit 3beb5cb

Browse files
committed
chore: enable new path for e2e tests
1 parent e2a3155 commit 3beb5cb

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

demos/canary/netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ command = "next build"
33
publish = ".next"
44
ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;"
55

6+
[build.environment]
7+
NEXT_SPLIT_API_ROUTES = "true"
8+
NEXT_BUNDLE_BASED_ON_NFT_FILES = "true"
9+
610
[[plugins]]
711
package = "@netlify/plugin-nextjs"
812

demos/default/netlify.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ CYPRESS_CACHE_FOLDER = "../node_modules/.CypressBinary"
1010
# set TERM variable for terminal output
1111
TERM = "xterm"
1212
NODE_VERSION = "16.15.1"
13+
NEXT_SPLIT_API_ROUTES = "true"
14+
NEXT_BUNDLE_BASED_ON_NFT_FILES = "true"
1315

1416
[[headers]]
1517
for = "/_next/image/*"

demos/middleware/netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ command = "npm run build"
33
publish = ".next"
44
ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;"
55

6+
[build.environment]
7+
NEXT_SPLIT_API_ROUTES = "true"
8+
NEXT_BUNDLE_BASED_ON_NFT_FILES = "true"
9+
610
[[plugins]]
711
package = "@netlify/plugin-nextjs"
812

demos/nx-next-monorepo-demo/netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff
55

66
[build.environment]
77
NEXT_SPLIT_API_ROUTES = "true"
8+
NEXT_BUNDLE_BASED_ON_NFT_FILES = "true"
89

910
[dev]
1011
command = "npm run start"

demos/static-root/netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff
55

66
[build.environment]
77
NEXT_SPLIT_API_ROUTES = "true"
8+
NEXT_BUNDLE_BASED_ON_NFT_FILES = "true"
89

910
[[plugins]]
1011
package = "@netlify/plugin-nextjs"

0 commit comments

Comments
 (0)