next.js
fix(turbopack): read NODE_ENV for SWC plugins from compile-time defines via TransformContext
#92579
Open

fix(turbopack): read NODE_ENV for SWC plugins from compile-time defines via TransformContext #92579

mischnic wants to merge 3 commits into canary from mischnic/swc-plugin-env
mischnic
mischnic Fix Turbopack passing "development" to SWC plugins during production …
78045958
mischnic Store node_env in TransformContext instead of SwcEcmaTransformPlugins…
ecf7126f
mischnic Thread compile_time_info through webpack path to eliminate hardcoded …
a0e02f41
nextjs-bot nextjs-bot added created-by: Turbopack team
nextjs-bot nextjs-bot added Turbopack
nextjs-bot
codspeed-hq
bgw
bgw approved these changes on 2026-04-09

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone