petehunt / node-jsx

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

Allow pre- and post- transformation of jsx code #28

Closed drd closed 8 years ago

drd commented 9 years ago

Allow specification of source transformations both before and after jsx. Soft-deprecate additionalTransform to make way for new preTransform and postTransform options. I'd be happy to include some changes that fix the current test, and add tests for the new functionality as well.