I’de just like to confirm next on pages can do SSR but not SSG correct?
I’de just like to confirm next on pages can do SSR but not SSG correct?
open-next itself supports it, I am not sureonly async function are allowed to be used in use server. File but the getRequestContext method is not async I think. 

export const runtime = "edge". It is not needed in use server filesgetRequestContext() inside an async function so it's totally fineexport const runtime = "edge" to all of my pages and I exptected to run into issues but so far, everything looks good. What's the expected behaviour? Where should I run into troubles?next build and it'll show which routes are considered static
Total (231 modules) │ │ 25488.77 KiB │
...
Generated Pages Functions bundle size (26272676) is over the limit of 25.0 MiB15:10:34.718 ▲ TypeError: Cannot read properties of undefined (reading 'data')
15:10:34.718 ▲ at N (/opt/buildhome/repo/.next/server/app/_not-found/page.js:120:23074)
15:10:34.719 ▲ at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
15:10:34.719 ▲ digest: '879041786'
15:10:34.719 ▲ }21:46:54.158 ✓ Generating static pages (5/5)
21:46:54.454 Finalizing page optimization ...
21:46:54.454 Collecting build traces ...
21:46:59.209
21:46:59.213 Route (app) Size First Load JS
21:46:59.213 ┌ ○ / 126 kB 229 kB
21:46:59.213 └ ○ /_not-found 140 B 87.4 kB
21:46:59.213 + First Load JS shared by all 87.2 kB
21:46:59.213 ├ chunks/23-1198366cbb09edbc.js 31.6 kB
21:46:59.213 ├ chunks/fd9d1056-a7223fb5cd24b6ec.js 53.7 kB
21:46:59.213 └ other shared chunks (total) 1.95 kB
21:46:59.214
21:46:59.214
21:46:59.214 ○ (Static) prerendered as static content
21:46:59.214
21:46:59.248 Finished
21:46:59.249 Note: No functions dir at /functions found. Skipping.
21:46:59.249 Validating asset output directory
21:46:59.249 Error: Output directory ".vercel/output/static" not found.
21:47:00.202 Failed: build output directory not found○ (Static) prerendered as static content
● (SSG) prerendered as static HTML (uses getStaticProps)
ƒ (Dynamic) server-rendered on demand