amalia/06-mar-26 #22

Merged
amaliadwiy merged 8 commits from amalia/06-mar-26 into join 2026-03-06 16:37:03 +08:00
Collaborator
No description provided.
amaliadwiy added 8 commits 2026-03-06 16:36:49 +08:00
Upgrade bun 1.3.1 to 1.3.6 and remove --ignore-scripts flag to fix
prerender error during Docker build (null useContext dispatcher).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add `export const dynamic = 'force-dynamic'` to root layout so all
pages are rendered at request time instead of build time. Fixes
useContext null error during Docker build prerendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Create not-found.tsx and global-error.tsx to prevent Next.js from
falling back to legacy Pages Router _error pages during static
generation, which fail with useContext null in Docker.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Override default Next.js _error page that imports <Html> from
next/document, which fails during Docker build prerendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
amaliadwiy merged commit f55b171987 into join 2026-03-06 16:37:03 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wibu/sistem-desa-mandiri#22
No description provided.