I have a gulp task similar to the following. I am trying to loop through and append a string to the page and also concatenate a corresponding file.   gulp.task('loop', function() {      for(i =0; i < 10; i++) {          gulp.src('./bui...
Everything is setup and working to concatenate and compile my styles and scripts. When an error occurs gulp-notify and gulp-plumber throw the error up as a mac notification and in terminal, and gulp doesn't stop running - which is great :)  Howev...
I have an array of objects that looks like the following.  var bundles = [   {     src: 'js/my-component/*.js',     bundleName: 'my-component.js'   },   {     src: 'js/my-other-component/*.js',     bundleName: 'my-other-co...
In my current workflow I need to create browserify bundles, but also wish to concat non-commonjs js libraries to the beginning of the file to expose global variables but also reduce the number of http requests and size of js files. (Some of these lib...
I am concatenating and minifying js files using gulp. But files are not concatenating in the order it should be, like this is the order I want :   var scriptFiles = [   'assets/lib/js/angular.min.js',   'assets/lib/js/angular-sanitize.min...
I'm using gulp to build a single javascript file with gulp-concat and gulp-uglify.   Original Files  //File 1 var Proj = Proj || {};  //File 2 Proj.Main = (function() {      var Method = function(){ /*Code*/ };     return { "Method":Metho...
Using Gulp to streamline my build process on a per-save basis, while eliminating the need for "temp" files is my goal (and why I chose to use Gulp over Grunt)  I've recently discovered that, apparently, the coffeescript compiler cannot ha...
I'm new using Gulp.  I'm wondering how can I concat, uglify and gzip all the js files from a static website using Gulp.  I have a task like this that works but I would like to only include in the dist folder the .gz file and not the combined....
I am trying to setup my gulpfile.js to concatenate all .js files in my src/js folder and name them based on their parent folder.  Example of folder structure:  project | +-assets | | | +-app.min.js | | | +-vendor.min.js | +-src | | | +-app | | | | |...
I am trying to create all.js file from all .js files in one folder with the help of gulp. But i am not getting all.js file.  Steps i have followed as follows:   Created Gulp.js file as below   File: gulpfile.js  // grab our gulp packages var gulp  =...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.