petehunt / node-jsx

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

node-jsx 0.12.2 doesn't honer the extension #25

Closed roderickhsiao closed 10 years ago

roderickhsiao commented 10 years ago

@petehunt 0.12.2 doesn't honder the extension of js so if we set extension as jsx without having @jsx pragma the code will not being transform

Your commit for this fix the issue but seems the 0.12.3 doesn't publish to npm yet. https://github.com/petehunt/node-jsx/commit/63a0904483f8f3bc441d76b65f2e0712daf355a9

The latest package show as https://www.npmjs.org/package/node-jsx 0.12.2

roderickhsiao commented 10 years ago

new package looks good now, thanks!