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 would like use gulp-useref for concant js files in same order as in index.html.  Solution has this structure:   Solution Folder   App Folder   Services Folder            service.js   Scripts Folder   angular.js     index.html  <script src = "...
Im using gulp-concat to merge all angular js files into one but after running gulp task i get this error in chrome console on runing application :  angular.js:13708Error: [ng:areq] http://errors.angularjs.org/1.5.7/ng/areq?p0=userboxController&p1...
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....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.