Skip to content
Advertisement

Tag: craco

How to configure craco to use jsx?

I am using craco and trying to figure out how to configure jsx. I keep getting the following error Support for the experimental syntax ‘jsx’ isn’t currently enabled (4:17): They suggest that I add `babel/preset-react or use @babel/plugin-syntax-jsx to the plugin section to enable parsing but I’m unsure how to do that. To clarify, I am trying to use a

Advertisement