Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ All of these resolve automatically to vinext shims. Do not rewrite imports in ap
| `next/document` | Full | Pages Router |
| `next/constants` | Full | |
| `next/amp` | Stub | No-op; AMP deprecated since Next.js 13 |
| `next/web-vitals` | Stub | No-op |
| `next/web-vitals` | Full | `useReportWebVitals`; not the `_app` export |
| `server-only` | Full | |
| `client-only` | Full | |

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ Every `next/*` import is shimmed to a Vite-compatible implementation.
| `next/document` | ✅ | `Html`, `Head`, `Main`, `NextScript` |
| `next/constants` | ✅ | All phase constants |
| `next/amp` | ⬜ | No-op (AMP is deprecated) |
| `next/web-vitals` | | No-op (use the `web-vitals` library directly) |
| `next/web-vitals` | | `useReportWebVitals` reports CLS, FCP, FID, INP, LCP, TTFB via the `web-vitals` library |

### Routing

Expand Down
Loading