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...
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 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  =...
I'm using gulp concat and browserync. When I run gulp, it starts browserync and concatenates and reloads all js files found in modules. The problem is that it only does the concatenation of js files once, so I need to stop running gulp and run it...
My folder structure:  dashboard >     components >         accounts > accounts.js, accountsDirectives.js         dash > dashApp.js         settings > settings.js, settingsDirectives.js         etc...   My function in the Gulpfile  func...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.