Next.js: Turbopack CSS Optimization and Testing Improvements

Next.js merged four pull requests on May 18th, 2026, introducing an experimental graph-based CSS chunking algorithm for Turbopack and converting legacy test infrastructure. The changes include significant performance optimizations and improved asset emission handling.

Duration: PT1M58S

Episode overview

This episode is a short developer briefing from Next.js.

It explains recent repository work in plain language.

  • Show: Next.js
  • Published: 2026-05-18T10:01:23Z
  • Audio duration: PT1M58S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. This is your Next.js developer briefing for May 18th, 2026.

Tobias Koppers merged a major addition to Turbopack with the introduction of a graph-based CSS chunking algorithm. This experimental feature is available through the cssChunking: "graph" configuration and aims to improve CSS sharing across pages while maintaining proper ordering. The algorithm uses a weighted…

Tim Neutkens merged continued test infrastructure modernization, converting additional test suites from the legacy createNext API to nextTestSetup. This follows previous work to standardize the testing framework across the codebase.

Koppers also merged improvements to the turbo-tasks priority system, introducing a new Recomputation priority that schedules recomputed tasks ahead of invalidation phases. This change addresses latency issues when tasks need to be re-run because their outputs weren't available during initial reads.

Finally, Koppers merged a fix to the asset emission process in Turbopack that addresses severe build performance issues. The change reorders operations so assets are written to disk before duplicate checking occurs, preventing potential 30-minute build times caused by eventual…

Additi…

Nearby episodes from Next.js

  1. AI Development Skills and Infrastructure Updates
  2. Developer Experience and Performance Updates
  3. Major Turbopack Improvements and Feature Rollouts
  4. Developer Experience and Turbopack Improvements
  5. Weekly Recap - Developer Experience & Performance Optimization
  6. Developer Experience Overhaul
  7. Server Action Fixes and Instant Insights Improvements
  8. Caching Improvements and Router Fixes