petehunt / node-jsx

transparently require() jsx from within node
164 stars 32 forks source link

Support `.react.js` ext #27

Open reggi opened 9 years ago

knightli commented 9 years ago

+1

hasdavidc commented 9 years ago

If I understand correctly, you should just be able to pass in through options.extension: https://github.com/petehunt/node-jsx/blob/7fcb09fbdce51b826de6b5fb3d6a12898aff8a7e/index.js#L16