Created
July 8, 2017 17:33
-
-
Save AkshayRana92/3292c543e94d54593a2eb7bfcd8e0db1 to your computer and use it in GitHub Desktop.
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
var concat = require('gulp-concat'); //Add dependency to package.json if not added | |
gulp.task('vendor-js', function () { | |
gulp.src(["assets/js/sweetalert2.min.js","assets/js/jquery-ui.min.js'" ... ]) // Add all js files path | |
.pipe(concat('vendor.js')) //Concatenate to a single js file | |
.pipe(gulp.dest('dist/prod/src/assets/js/')); // destination folder | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment