2.0.1 • Published 9 years ago

gulp-jsx v2.0.1

Weekly downloads
19
License
BSD-3-Clause
Repository
github
Last release
9 years ago

gulp-jsx Build Status NPM version Dependency Status

jsx-transform for Gulp.

Installation

npm install gulp-jsx

Usage

var gulp = require('gulp');
var jsx = require('gulp-jsx');

gulp.task('build', function() {
  return gulp.src('views/**/*.js')
    .pipe(jsx({
      factory: 'React.createClass'
    }))
    .pipe(gulp.dest('dist'));
});

See jsx-transform for options and other usage information.

Options

Options are passed to jsx-transform.

options.match

Type: RegExp or String Default: /jsx?$/i

Only parses files with pathnames that match this value.

BSD Licensed

2.0.1

9 years ago

2.0.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.10.0

9 years ago

0.9.0

9 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago