Skip to content

Commit fc0c68b

Browse files
committed
chore: make build work
1 parent 38daf34 commit fc0c68b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

demos/middleware/netlify.toml

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

66
[[plugins]]
7-
package = "@netlify/plugin-nextjs"
7+
# Switch these when testing `ntl dev`
8+
# package = "@netlify/plugin-nextjs"
9+
package = "../plugin-wrapper/"
810

911
# This is a fake plugin, that makes it run npm install
1012
[[plugins]]

demos/middleware/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"ntl": "ntl-internal"
1010
},
1111
"dependencies": {
12-
"@netlify/plugin-nextjs": "*",
1312
"@netlify/next": "*",
13+
"@netlify/plugin-nextjs": "*",
1414
"next": "^12.2.0",
1515
"react": "18.0.0",
1616
"react-dom": "18.0.0"
@@ -24,4 +24,4 @@
2424
"npm-run-all": "^4.1.5",
2525
"typescript": "^4.6.3"
2626
}
27-
}
27+
}

0 commit comments

Comments
 (0)