Skip to content
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

How to handle "Support for the experimental syntax 'jsx' isn't currently enabled" ? #47

Open
minuitagency opened this issue May 26, 2022 · 2 comments

Comments

@minuitagency
Copy link

Hi,

Thanks for the great repo that is of great help here,

I have a recurring error with this type of mono repo (react native + react native web) that I don't quite know how to handle:

image

The package was properly added to no hoist,

What else should I do?

Thanks again,

Théo

@minuitagency
Copy link
Author

any idea?

Thanks

@markrickert
Copy link

@minuitagency You have to name your files to indicate there's JSX in the file. So for javascript files, *.js becomes *.jsx and for typescript *.ts becomes *.tsx.

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

No branches or pull requests

2 participants