mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
## Summary - Moved `jsxSideEffects` (now `sideEffects`) from tsconfig.json compiler options to the jsx object in the build API - Updated all jsx bundler tests to use the new jsx.sideEffects configuration - Added jsx configuration parsing to JSBundler.zig ## Changes - Removed jsxSideEffects parsing from `src/resolver/tsconfig_json.zig` - Added jsx configuration parsing to `src/bun.js/api/JSBundler.zig` Config.fromJS - Fixed TransformOptions to properly pass jsx config to the transpiler in `src/bundler/bundle_v2.zig` - Updated TypeScript definitions to include jsx field in BuildConfigBase - Modified test framework to support jsx configuration in API mode - Updated all jsx tests to use `sideEffects` in the jsx config instead of `side_effects` in tsconfig ## Test plan All 27 jsx bundler tests are passing with the new configuration structure. 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude Bot <claude-bot@bun.sh> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>