Last active
August 29, 2015 14:14
-
-
Save stoeffel/9007f68c2a63f0c42e42 to your computer and use it in GitHub Desktop.
reactive-gulp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('reactive-gulp')(require('gulp')); | |
| gulp.task('default', '**/*.js') | |
| .pipe(mocha()) | |
| .pipe(uglify()) | |
| .dest('./dist/'); | |
| // is the same as | |
| var gulp = require('gulp'); | |
| gulp.task('default', function() { | |
| gulp.src('**/*.js') | |
| .pipe(mocha()) | |
| .pipe(uglify()) | |
| .pipe(gulp.dest('./dist/')); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment