KyleAMathews / coffee-react-quickstart

Quickstart for building React single page apps using Coffeescript, Gulp, Webpack, and React-Router
http://kyleamathews.github.io/coffee-react-quickstart
MIT License
254 stars 41 forks source link

jsx files and harmony flag #27

Open Dorosty opened 9 years ago

Dorosty commented 9 years ago

I cannot require .jsx files (from other projects like material-ui). Am I doing something wrong? Also is there a way to enable ES6 conversion both for .js and .jsx files? (again, I need this because other packages like flux use it). Thank you for this great project BTW.

KyleAMathews commented 9 years ago

You'll need to integrate BabelJS into the webpack config files. See https://github.com/babel/babel-loader. A PR would be great!