Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
gulp.task('style', () => {
return gulp.src('./src/viz/style/index.less')
.pipe(less({paths: ['./src/viz/style']}).on('error', gutil.log))
.pipe(gulp.dest('./build/dev'))
.pipe(cssnano(cssnanoOptions))
.pipe(gulp.dest('./build/dist'))
.pipe(browserSync.stream())
;
});