Build react-templates
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-react-templates
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'));
});
-
modules
Select modules system (amd|commonjs|es6|typescript|none).
See more here