Open christianalfoni opened 9 years ago
node-jsx works great! The only problem is when you have a big dependency tree where just a fraction of the files actually contain JSX.
node-jsx
By defining paths...
var path = require('path'); require('node-jsx').install({ paths: [path.resolve(__dirname, 'app')] });
...only files in those directories and subdirectories will be transformed. This saves a lot of time when running tests or rendering isomorphic react.
node-jsx
works great! The only problem is when you have a big dependency tree where just a fraction of the files actually contain JSX.By defining paths...
...only files in those directories and subdirectories will be transformed. This saves a lot of time when running tests or rendering isomorphic react.