Skip to content

Commit 3f76a9f

Browse files
committed
add note/question about export output
1 parent e140441 commit 3f76a9f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

adapters-notes.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
could report issues in correct place in such cases. Not that important for nearest future / not
3434
blocking)
3535

36+
- `output: 'export'` case seems to produce outputs as if it was not export mode (for example having
37+
non-empty `outputs.appPages` or `outputs.prerenders`). To not have special handling for that in
38+
adapters, only non-empty outputs should be `staticFiles` pointing to what's being written to `out`
39+
(or custom `distDir`) directory?
40+
3641
## Plan
3742

3843
1. There are some operations that are easier to do in a build plugin context due to helpers, so some
@@ -51,7 +56,8 @@
5156
handler and convert those files into blobs to upload later
5257
- [done] use middleware output to generate middleware edge function
5358
- [done] don't glob for static files and use `outputs.staticFiles` instead
54-
- check `output: 'export'` case
59+
- [checked, did not apply changes yet, due to question about this in feedback section] check
60+
`output: 'export'` case
5561
- note any remaining manual manifest files reading in build plugin once everything that could be
5662
adjusted was handled
5763

0 commit comments

Comments
 (0)