Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'jsx' to resolver.sourceExts defaults
Summary: Widens the default config value for `resolver.sourceExts` to include `.jsx` file extensions. This mirrors us already supporting both `.ts` and `.tsx` out of the box, and [aligns with create-react-app](https://github.com/facebook/create-react-app/blob/f34d88e30c7d8be7181f728d1abc4fd8d5cd07d3/packages/react-scripts/config/webpack.config.js#L356). Changelog: **[Breaking]** With a default config, any `.jsx` files will now be resolved before `.json`, `.ts`, `.tsx` Reviewed By: robhogan Differential Revision: D37881467 fbshipit-source-id: cb16eb9b190e9f3f5666fd48b11a12feba8a53f1
- Loading branch information