Skip to content

Conversation

@ArnaudBarre
Copy link
Member

Fix #235

I did some benchmarking and using retainLines has no impact on transformation time, but using the babel JSX transform plugin slowdown by around 40% the pipeline. I think this fix is a good trade off and avoid to break other plugins that now rely on the JSX transformation to be done at the esbuild step.

@Artur-
Copy link

Artur- commented Oct 30, 2023

Thanks! I just spent some time trying to figure out why source references were off by 3 lines. This fixes the issue

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.

lineNumber error for __source prop

5 participants