Skip to content

Conversation

Copy link

Copilot AI commented Feb 3, 2026

Upgrades Next.js from 13.4.4 to 16.1.6, requiring React 19 and migration to Turbopack bundler.

Dependencies

  • next: 13.4.4 → 16.1.6
  • react / react-dom: 18.2.0 → 19.0.0
  • typescript: 5.1.3 → 5.7.3
  • @types/react: 18.2.9 → 19.0.6, added @types/react-dom 19.0.2
  • react-syntax-highlighter: 15.6.6 → 16.1.0 (resolves 3 moderate CVEs)

Code Changes

  • Turbopack migration: Replaced webpack config with turbopack.rules for SVG-as-component handling via @svgr/webpack
  • React 19 compatibility: Replaced deprecated VFC with FC in SocialButtons.tsx and Author.tsx

Configuration

- webpack(config) {
-   config.module.rules.push({
-     test: /\.svg$/i,
-     issuer: /\.[jt]sx?$/,
-     use: ['@svgr/webpack'],
-   });
-   return config;
- },
+ turbopack: {
+   rules: {
+     '*.svg': {
+       loaders: ['@svgr/webpack'],
+       as: '*.js',
+     },
+   },
+ },

Result: 0 vulnerabilities (down from 17), Next.js 16 Turbopack builds working.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 3, 2026 16:00
Co-authored-by: jacksonhardaker <7596320+jacksonhardaker@users.noreply.github.com>
…v16.1.0

Co-authored-by: jacksonhardaker <7596320+jacksonhardaker@users.noreply.github.com>
Copilot AI changed the title [WIP] Update site to latest version of Next.js and dependencies Update to Next.js 16.1.6 with React 19 and Turbopack Feb 3, 2026
Copilot AI requested a review from jacksonhardaker February 3, 2026 16:05
@jacksonhardaker jacksonhardaker marked this pull request as ready for review February 3, 2026 16:06
@vercel
Copy link

vercel bot commented Feb 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
jacksonhardaker-dev Ready Ready Preview, Comment Feb 3, 2026 4:20pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants