add gulp-pumper

parent de72f398
......@@ -46,6 +46,6 @@ bone theme
- если не запускается gulp из-за зависимостей, запустить 1 раз в папке
темы (после запуска команды надо перелогиниться в ssh):
~~~
npm install gulp gulp-sass gulp-livereload gulp-autoprefixer gulp-sourcemaps gulp-postcss lost gulp-sass-glob
npm install gulp gulp-sass gulp-livereload gulp-autoprefixer gulp-sourcemaps gulp-postcss lost gulp-sass-glob gulp-plumber
~~~
......@@ -5,11 +5,13 @@ var autoprefixer = require('gulp-autoprefixer');
var sourcemaps = require('gulp-sourcemaps');
var livereload = require('gulp-livereload');
var sassGlob = require('gulp-sass-glob');
var plumber = require('gulp-plumber');
var lost = require('lost');
gulp.task('sass', function () {
gulp.src('scss/styles.scss')
.pipe(sourcemaps.init())
.pipe(plumber())
.pipe(sassGlob())
.pipe(sass())
.pipe(postcss([lost()]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment