The maplibre-gl webpack alias in next.config.mjs was intercepting CSS sub-path imports, causing 'Module not found' for maplibre-gl/dist/maplibre-gl.css. Removed the alias entirely (not needed for Next.js 14) and moved the CSS import to layout.tsx so it resolves directly from node_modules. Also adds the prisma migration file for RouteSegment table (20260324000000_add_route_segments). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 0001_init | ||
| 20260324_add_route_segments | ||
| 20260324000000_add_route_segments | ||
| migration_lock.toml | ||