fullstorydev / fullstory-babel-plugin-annotate-react

A Babel plugin that annotates React components, making them easier to target with FullStory search
MIT License
30 stars 13 forks source link

Usage with esbuild #143

Open anttiviljami opened 1 year ago

anttiviljami commented 1 year ago

Hi there! As heavy Fullstory users we'd love to make use of the annotate react plugin at @epilot-dev, but we use esbuild instead of babel to build our React frontends.

Any plans to get this ported to an esbuild plugin?

anttiviljami commented 1 year ago

Maybe helpful: https://esbuild.github.io/api/#jsx-factory

RyanCommits commented 1 month ago

@anttiviljami We currently do not have plans to build a separate esbuild plugin to support this. Is there any reason why a separate babel build step is not possible with your project?

anttiviljami commented 1 month ago

@RyanCommits that would completely defeat the purpose of using esbuild for faster builds.

RyanCommits commented 4 weeks ago

That makes sense. I can make a case to prioritize this work if we see increased demand for esbuild support.