Miss any of our Open RFC calls?Watch the recordings here! »

gulp-react-templates

1.0.0 • Public • Published

NPM version build status This version simply updates the react-templates version so that it works with react 15.x

gulp-react-templates

Build react-templates

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-react-templates

Usage

var gulp = require('gulp');
var rt = require('gulp-react-templates');
 
gulp.task('rt', function() {
    gulp.src('src/**/*.rt')
        .pipe(rt({modules: 'amd'}))
        .pipe(gulp.dest('src'));
});

Options

  • modules

    Select modules system (amd|commonjs|es6|typescript|none).

See more here

Install

npm i gulp-react-templates

DownloadsWeekly Downloads

22

Version

1.0.0

License

MIT

Unpacked Size

3.83 kB

Total Files

3

Last publish

Collaborators

  • avatar
  • avatar