How to use the gulp-less.default function in gulp-less

To help you get started, we’ve selected a few gulp-less examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mindrones / timely-dependency-graph / gulp / tasks / style.js View on Github external
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())
        ;
});

gulp-less

Less for Gulp

MIT
Latest version published 4 years ago

Package Health Score

59 / 100
Full package analysis

Popular gulp-less functions