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/'));
});
при попытке выполнить таск выдает ошибку
events.js:141
throw er; // Unhandled 'error' event
^
Error: undefined:910:28: missing '}'
at error (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:62:15)
at declarations (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:259:26)
at rule (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:560:21)
at rules (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:117:70)
at stylesheet (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:81:21)
at module.exports (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\node_modules\css\lib\parse\index.js:564:20)
at rework (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\rework\index.js:27:21)
at DestroyableTransform._transform (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\index.js:82:22)
at DestroyableTransform.Transform._read (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (D:\smth\Work\pokerWU\node_modules\gulp-concat-css\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:172:12)