next.js
78045958 - Fix Turbopack passing "development" to SWC plugins during production builds

Commit
2 days ago
Fix Turbopack passing "development" to SWC plugins during production builds Thread the actual build mode (NextMode) through to SwcEcmaTransformPluginsTransformer so that TransformPluginMetadataContext receives "production" during `next build` instead of the previously hardcoded "development" string. Fixes https://github.com/vercel/next.js/issues/92547 Co-Authored-By: Claude <noreply@anthropic.com>
Author
Parents
Loading