Skip to content

Conversation

@lane711
Copy link
Collaborator

@lane711 lane711 commented Jan 29, 2026

Summary

  • Fix broken deploy caused by Next.js 16 using Turbopack by default
  • The MDX plugins (remark/rehype/recma) are functions that aren't serializable for Turbopack
  • The search.mjs uses custom webpack config which is incompatible with Turbopack
  • Add --webpack flag to build script to force webpack bundler
  • Update @next/mdx from ^15 to ^16 to match Next version
  • Update eslint-config-next from ^15 to ^16

Deploy has been broken since dependabot PR #608 bumped Next from 15.5.10 to 16.1.5 on Jan 28.

Test plan

  • Verify Deploy WWW workflow succeeds after merge
  • Verify sonicjs.com is updated with latest homepage content

🤖 Generated with Claude Code

lane711 and others added 2 commits January 28, 2026 17:01
- Reduce h3 margin from mb-4 to mb-2
- Put pre content on same line as tag to prevent MDX p-tag insertion
- Add m-0 to pre to remove default margins

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Next 16 uses Turbopack by default which can't handle non-serializable
MDX plugin options (functions) or custom webpack config in search.mjs.
Force webpack for builds with --webpack flag.

- Update @next/mdx from ^15 to ^16
- Update eslint-config-next from ^15 to ^16
- Add --webpack flag to build script for Turbopack compatibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@lane711 lane711 merged commit 13eae65 into main Jan 29, 2026
1 check passed
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