Skip to content

Commit aa71cb8

Browse files
committed
chore: use plugin wrapper
1 parent aaac07a commit aa71cb8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

demos/middleware/netlify.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff
66
[build.environment]
77
NEXT_USE_NETLIFY_EDGE = "true"
88

9-
# [[plugins]]
10-
# package = "@netlify/plugin-nextjs"
9+
[[plugins]]
10+
package = "../plugin-wrapper/"
11+
1112
# This is a fake plugin, that makes it run npm install
1213
[[plugins]]
1314
package = "@netlify/plugin-local-install-core"
@@ -17,13 +18,12 @@ included_files = [
1718
"!node_modules/sharp/vendor/8.12.2/darwin-*/**/*",
1819
"!node_modules/sharp/build/Release/sharp-darwin-*"
1920
]
20-
2121
# [dev]
2222
# framework = "#static"
23-
[[redirects]]
24-
from = "/_next/static/*"
25-
to = "/static/:splat"
26-
status = 200
23+
# [[redirects]]
24+
# from = "/_next/static/*"
25+
# to = "/static/:splat"
26+
# status = 200
2727
# [[redirects]]
2828
# from = "/*"
2929
# to = "/.netlify/functions/___netlify-handler"

0 commit comments

Comments
 (0)