Created
September 18, 2015 11:15
-
-
Save Sulcalibur/1d83d56bbb0af56eb0a4 to your computer and use it in GitHub Desktop.
Gulp file to concat coffee script and javascript
This file contains 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
gulp.task('scriptspre', function() { | |
return gulp.src([ | |
'project/assets/scripts/scriptspre.coffee', | |
'bower_components/modernizr/modernizr.js' | |
]) | |
.pipe(coffee()) | |
.pipe(sourcemaps.init()) | |
.pipe(concat('pre.js')) | |
.pipe(sourcemaps.write()) | |
.pipe(gulp.dest('build/assets/js/')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment