Completed
Push — develop ( e0cef8...0aa347 )
by Xaver
31s
created

module.exports   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 3
rs 10
nop 0
1
module.exports = function (gulp, plugins, config, env) {
2
  return function sass() {
3
    return gulp.src('scss/*.scss')
4
      .pipe(env.development(plugins.sourcemaps.init()))
5
      .pipe(plugins.sass({
6
        outputStyle: 'compressed',
7
        sourceMap: false
8
      }))
9
      .on('error', function () {
10
        this.emit('end');
11
      })
12
      .pipe(plugins.autoprefixer({
13
        browsers: config.autoprefixer
14
      }))
15
      .pipe(env.development(plugins.sourcemaps.write('.', { addComment: true })))
16
      .pipe(gulp.dest(config.build));
17
  };
18
};
19