Commit bb713bd4 authored by Nikolay Gromov's avatar Nikolay Gromov

sourcemaps fix

parent 013cda46
...@@ -62,7 +62,7 @@ gulp.task('less', function () { ...@@ -62,7 +62,7 @@ gulp.task('less', function () {
autoprefixer({browsers: ['last 2 version']}), autoprefixer({browsers: ['last 2 version']}),
mqpacker mqpacker
])) ]))
.pipe(cleanss()) .pipe(gulpIf(!isDev, cleanss()))
.pipe(rename('style.min.css')) .pipe(rename('style.min.css'))
.pipe(debug({title: "RENAME:"})) .pipe(debug({title: "RENAME:"}))
.pipe(gulpIf(isDev, sourcemaps.write('.'))) .pipe(gulpIf(isDev, sourcemaps.write('.')))
......
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