This repository has been discontinued. The reason is that react-style has already died.
js-next/react-style browserify plugin
$ npm install --save-dev git://github.com/chatwork/react-stylify.git
$ browserify script.jsx -t react-stylify --outfile bundle.jsx
"browserify": {
"transform": [
"react-stylify"
]
},
Please do not use { harmony: true }
option for react.
gulp.task('react', function () {
var react = require('gulp-react');
return gulp.src(['src/**/*.jsx'])
.pipe(react({ harmony: true })) // Do not use this option.
.pipe(gulp.dest('dist/'))
;
});
Use the 6to5/6to5ify instead.
"browserify": {
"transform": [
"react-stylify",
"6to5ify"
]
},
MIT