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

Question: Support for JSX file extension #161

Closed
timReynolds opened this issue Oct 30, 2016 · 1 comment
Closed

Question: Support for JSX file extension #161

timReynolds opened this issue Oct 30, 2016 · 1 comment

Comments

@timReynolds
Copy link
Contributor

Does next.js support the jsx file extension? From trying locally under dev it seems that only .js files are loaded not .jsx?

If this is the case is not supposing .jsx in the loader a deliberate design choice?

Thanks

@impronunciable
Copy link
Contributor

@timReynolds next.js does not support the jsx file extension. There are many reasons for limiting to js files being simplicity for pages detection and linting configuration some of them.

@lock lock bot locked as resolved and limited conversation to collaborators May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants