Sha256: 37b4e4c9049489736be9c98f495fdcb62dbd415e8a26af66e91ef39ed240d791
Contents?: true
Size: 586 Bytes
Versions: 32
Compression:
Stored size: 586 Bytes
Contents
var gulp = require('gulp'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var react = require('gulp-react'); var htmlreplace = require('gulp-html-replace'); var plumber = require('gulp-plumber'); var path = { REACT_SRC: ['js/react/src/*.js'], REACT_DEST: 'js/react/dist' }; gulp.task('transform', function(){ gulp.src(path.REACT_SRC) .pipe(plumber()) .pipe(react()) .pipe(gulp.dest(path.REACT_DEST)); }); gulp.task('watch', function(){ gulp.watch(path.REACT_SRC, ['transform']); }); gulp.task('default', ['transform', 'watch']);
Version data entries
32 entries across 32 versions & 1 rubygems