New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsx parse error #53
Comments
Hey @rambabusaravanan, great bug report. Viteshot currently can't support any JSX in js files, but I just managed to get that to work in reactpreview.com, which works in a very similar way, so I should be able to fix it. Give me a day or two 🙂 |
Hey @rambabusaravanan, v0.1.4 is out with support for JSX in .js files. However, this cannot apply to JSX inside It looks like you won't be able to take screenshots of components that depend on Gatsby 😞 Other, more isolated components should however be fine. |
Hey @rambabusaravanan, it took a while to get that PR merged into Vite, but it's now done :) You should be able to use Viteshot with Gatsby, at least from v0.1.8. Let me know how you go! |
Sure will give it a try. Thanks for the update. |
Hi @fwouts,
When using our components, I'm facing issue in parsing jsx file.
Earlier I used to declare in
jest.screenshot.config.js
fileThe text was updated successfully, but these errors were encountered: