I'm pretty new to gulp. I'm trying to merge few JS files together and when I add jQuery (or jQuery UI) compiler throws error: events.js:160 throw er; // Unhandled 'error' event ^ Error: [path]\public\components\jquery\dist\jquery.js:16:2: missing '}'
What is the best way of minify multiple css files into one? The gulp task below causing two issues after the minification and concatenation: bootstraps glyphicons that I use have disappeared. some of my styles are broken. The task seems to have re-ar
This issue... ... remembers me to another one, but seems different. (scroll down after code, to see what I mean) I don't have really a problem with gulp-watch in other projects, especially since I fixed a similar issue. (which you can find on the end
I am working on a project where I am concatenating all files, minifying and renaming by gulp. When I write an image path as a background image in my main css file it is not working in the minified file. Actually I am unable to set the image path as i
//ERRRORS SHOWN ON THE CONSOLE main.lib.angular.js:1 Uncaught TypeError: Cannot read property 'noop' of undefined main.lib.js:1 Uncaught TypeError: Cannot read property 'module' of undefined main.user.js:1 Uncaught ReferenceError: angular is not defi
I have several typescript files, some of them export a const named APIS. I'm trying to access those exports (I want to concatenated all of them to a single file), but it doesn't seem to work. I'm obviously doing something wrong, but I'm not sure what
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 aga
There is a bug in following gulp stream but I just couldn't find where. var processors = [autoprefixer({ browsers: ['last 2 version']}), cssnano(),]; var myjob = gulp.src(['app/css/normalize.css', 'app/css/org.scss']) .pipe(watch('app/css/org.scss',
I'm using gulp to compile and minify my SASS in an ASP.NET5 website to use as a CDN. I've written a watcher that watches my *.scss files, it then uses dependencies to compile the scss and then concat/minify it into one style.min.css. The issue I'm ha
I recently started to use gulp to keep my dev project organized and I've run into a little something that I cant figure out. So this is my task : gulp.task('jsassemble', function () { return gulp .src('vendor/proj/**/**/src/assets/js/*.js') .pipe(con
I have a list of CDN (or remote) scripts (with full URL). I want to transform this into a concatened file (all.js). Can I do that with gulp? In other words, is it the right tool? // Does not work (no error, but no file generated) var gulp = require('
Trying to concat/uglify my angular app using gulp for the last few hours, i have stripped down whole process to simple concat, and even removed angular file from concat process to a separate <script> request in header - and still, I receive the same
I am using gulp concat to combine all JavaScript libraries CSS file into one. My gulp task looks something like this: gulp.task('concatcss', function() { return gulp.src('assets/libs/**/*.css') .pipe(concatCss("all.css").on('error', standardHand
Gulp newbie here, I downloaded gulp-order for ordering js files when concating *.js because some of my javascript files require jquery to load first. Below are my gulpfile.js that have order,concat,rename & uglify. var date = new Date(); var uniq = d
I am using gulp to compile my typescript files and create the output.js file. Is it possible to have a single task which compiles typescript file and concatenates it with angular libraries? Here's what my current file looks like (below). First it's r
I have a gulp 'default' task where I want to clean a folder before gulp continues to build my minified CSS and JS. This 'clean' task needs to run only once per default task. But I am having issues trying to get default task to reference the real buil
How can I tell Gulp to skip or ignore some files in gulp.src([...])? For instance, I don't want to compress and concat this file in my css/ folder - 'css/ignnore.css'? var autoprefix = require('gulp-autoprefixer'), concat = require('gulp-concat'), mi
hi all i am using gulp uglify and concat to minify js code. However, i would like to have a way to detect any coding error in the original dev js code so that i can check the original code and not only notified after minified. May I know how can i do
I have the following folder and file structure: Vendor bootstrap css -bootstrap.css js -bootstrap.js font-awesome css -font-awesome.css nivo-slider -nivo-slider.css theme -theme.css -theme-animate.css -theme-blog.css -theme-responsive.css -theme-shop