Skip to content

chatwork/react-stylify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository has been discontinued. The reason is that react-style has already died.

react-stylify

js-next/react-style browserify plugin

Installation

$ npm install --save-dev git://github.com/chatwork/react-stylify.git

Usage

CLI

$ browserify script.jsx -t react-stylify --outfile bundle.jsx

package.json

  "browserify": {
    "transform": [
      "react-stylify"
    ]
  },

Attention

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"
    ]
  },

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published