Answer the question
In order to leave comments, you need to log in
What's wrong with Gulp.js?
var gulp = require('gulp'),
concatCss = require('gulp-concat-css'),
minifyCss = require('gulp-minify-css'),
rename = require('gulp-rename');
gulp.task('main-layout-1-css', function () {
return gulp.src([
'static/css/base.css',
'static/css/bootstrap.css',
'static/css/font-awesome.min.css',
'static/css/bootstrap-social.css',
'static/css/all.css',
'static/css/layout.css'
])
.pipe(concatCss('main-layout-1.css'))
.pipe(minifyCss())
.pipe(rename('main-layout-1.min.css'))
.pipe(gulp.dest('assets/css/'));
});
Answer the question
In order to leave comments, you need to log in
I found an error in css
and had to look for it in 2k lines. Moreover, phpstorm believed that everything was fine here. Can gulp be asked to ignore this? Or pointing out exactly where the failure is. Because "Error: undefined:910:28: missing '}'" points to a position in the build file, not the source.
Solution 1)
Plumber plugin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question