gulp-concat Questions
3
I'm trying to convert a old gulpjs file to es6 but i keep getting this error message in the concat task:
Error: Recived a non-Vinyl object in dest()
My gulpfile.js:
import gulp from 'gulp';
/**...
Overcapitalize asked 3/7, 2018 at 20:33
2
Solved
I'm upgrading from Gulp 3 to 4, and I'm running into an error:
The following tasks did not complete: build
Did you forget to signal async completion?
I understand what it's saying, but can't und...
Sperry asked 18/10, 2016 at 1:33
4
Solved
I am using gulp to uglify and make ready my javascript files for production. What I have is this code:
var concat = require('gulp-concat');
var del = require('del');
var gulp = require('gulp');
va...
Aquamarine asked 27/3, 2016 at 4:36
1
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 h...
Baggage asked 4/1, 2016 at 15:13
2
Solved
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,conca...
Sousa asked 12/7, 2015 at 17:31
2
Solved
I know this is probably a weird question, but stick with me. :)
Is it possible to use gulp sass (or other gulp plugins) to read a single .scss file with multiple @import statements, and import/co...
Rabush asked 23/10, 2015 at 16:25
2
I have a problem with gulp-concat. I'm trying to concate all my js files in a single file, let's say, dist/app.js.
But there is something that I don't understand. In that file, my required files p...
Manella asked 7/8, 2015 at 8:39
2
Solved
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 <sc...
Grappling asked 1/10, 2015 at 18:20
1
Solved
I'm creating 3 minified bundles for my application. I have 2 tasks to do this, minify, and bundle. Minify has a dependency on bundle. If I run minify, both tasks run with no errors. The bundles are...
Giglio asked 18/9, 2015 at 16:15
2
Solved
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: 'm...
Fortyish asked 17/8, 2015 at 8:58
2
Solved
I have a fairly standard use case for gulp-sourcemaps
https://github.com/floridoo/gulp-sourcemaps
gulp.src( bundle.src)
.pipe(sourcemaps.init())
.pipe(concat(bundle.dst + '.' + opts.ext))
.p...
Kettle asked 30/9, 2014 at 0:15
2
Solved
I would like to take the sass output and concat it to another css regular file.
example:
animate.css
app.scss
return gulp.src('app.scss')
.pipe(sass({
errLogToConsole: true
}))
.pipe(concat(...
Rabbinical asked 11/6, 2015 at 13:22
1
Solved
I'm trying to concatenate my JS files and run them through Babel for a new project, but instead of overwriting the destination file on each task run, my gulpfile only appends changes to the file. S...
Pelting asked 24/5, 2015 at 23:51
1
Solved
Hi I'm trying to fix the order of the js files that get compiled in my Gulp task.
The order I need:
'/_sources/js/libs/*.js'
'/_sources/js/plugins/*.js'
'/_sources/js/custom/*.js'
'/_components/*...
Declare asked 15/2, 2015 at 4:13
1
Solved
I'm wondering if there's any way to combine these two separate tasks into one.
This concat-js task requires a generated file to exist prior to running. The task cache-angular-templates generates ...
Hystero asked 1/2, 2015 at 4:13
1
Can someone explain how to uglify, then concat and finally generate a source map using gulp? I cannot seem to get it working. I am not seeing anything in the API's about this but seems to me that i...
Terti asked 12/11, 2014 at 11:0
2
Solved
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('gu...
Pashm asked 3/11, 2014 at 5:8
1
© 2022 - 2024 — McMap. All rights reserved.