andreypopp / reactify

[DEPRECATED] Browserify transform for JSX (superset of JavaScript used in React library by Facebook)
MIT License
690 stars 68 forks source link

typescript extensions #42

Closed mwilc0x closed 9 years ago

mwilc0x commented 9 years ago

I'm not sure if this is something that is entirely possible right now. But it would be sweet if reactify could support tsify via extensions a la coffeeify.

Edited to add: something like this works perfectly fine today:

watchify -p [tsify] -t [ reactify --extension "everything" ] lib/js/app.ts -o bundle.js

The problem comes in when jsx syntax is introduced into a ts file.

mwilc0x commented 9 years ago

This is a larger issue, re: react/isssues/759

Closing this as it is not specific to reactify.