petehunt / webpack-howto

10.11k stars 696 forks source link

`jsx?harmony` --> `babel-loader` #31

Closed bguiz closed 9 years ago

bguiz commented 9 years ago

(facebook themselves have deprecated JSXTransform in favour of babel)

collinwu commented 9 years ago

Was just going to submit a pr for this :+1:

bguiz commented 9 years ago

+1

lundcm commented 9 years ago

Just getting into this and am not very experienced, so I hope this helps. I tried to go through this today/tonight and struggled until I found this issue logged. I made these changes made in this commit to the version I downloaded today from GitHub and still had to remove the "/* @jsx React.DOM /" section from the top of each .js file that had it.

Now I'm good to go, thought I'd pass the experience along. Thanks for this though. It actually was, in the end, a huge help.