Skip to content

Commit 0305db3

Browse files
committed
add note about static files and trailingSlash config
1 parent 17e5f50 commit 0305db3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

adapters-feedback.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@
4040
non-empty `outputs.appPages` or `outputs.prerenders`). To not have special handling for that in
4141
adapters, only non-empty outputs should be `staticFiles` pointing to what's being written to `out`
4242
(or custom `distDir`) directory?
43+
- `output.staticFiles` entries for fully static pages router pages don't have `trailingSlash: true`
44+
option applied to `pathname`. For example:
45+
```json
46+
{
47+
"id": "/link/rewrite-target-fullystatic",
48+
"//": "Should pathname below have trailing slash, if `trailingSlash: true` is set in next.config.js?",
49+
"pathname": "/link/rewrite-target-fullystatic",
50+
"type": "STATIC_FILE",
51+
"filePath": "/Users/misiek/dev/next-runtime-adapter/tests/fixtures/middleware-pages/.next/server/pages/link/rewrite-target-fullystatic.html"
52+
}
53+
```

0 commit comments

Comments
 (0)