Closed markfinger closed 9 years ago
Took a stab at NodeJSX. Looks like Node will have to be invoked with a --harmony flag. Might be worth waiting until io.js picks up more marketshare and pushes the uptake in ES6/7 features.
Plus, the JSX transformer's handling of harmony features is pretty patchy, no let
or destructuring for example.
Personally, I'm not using harmony features and I generally distrust transpilers on account of the disconnect between source/generated, so I'm hesitant to pursue this until there's a justification.
This requires configuration of both NodeJSX and jsx-loader.