Skip to content

Commit

Permalink
Fix Next.js 12
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Oct 12, 2023
1 parent 66b15ff commit 5c9b6b8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions code/frameworks/nextjs/src/dependency-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ const mapping: Record<string, Record<string, string>> = {
'>=11.1.0 <13.5.0': {
'next/dist/shared/lib/router-context': 'next/dist/shared/lib/router-context',
},
<<<<<<< Updated upstream
'<13.5.0': {
=======
'>=13': {
'next/dist/shared/lib/hooks-client-context.shared-runtime':
'next/dist/shared/lib/hooks-client-context',
},
'< 13.5.0': {
>>>>>>> Stashed changes
'next/dist/shared/lib/router-context.shared-runtime': 'next/dist/shared/lib/router-context',
'next/dist/shared/lib/head-manager-context.shared-runtime':
'next/dist/shared/lib/head-manager-context',
'next/dist/shared/lib/app-router-context.shared-runtime':
'next/dist/shared/lib/app-router-context',
'next/dist/shared/lib/hooks-client-context.shared-runtime':
'next/dist/shared/lib/hooks-client-context',
},
};

Expand Down

0 comments on commit 5c9b6b8

Please sign in to comment.