Skip to content

Instantly share code, notes, and snippets.

@chmanie
Created August 11, 2014 10:00
Show Gist options
  • Select an option

  • Save chmanie/fbf1c3dd11c1f61be8f9 to your computer and use it in GitHub Desktop.

Select an option

Save chmanie/fbf1c3dd11c1f61be8f9 to your computer and use it in GitHub Desktop.
gulp.task('less_local', function () {
gulp.src(SRC_DIR + '/app/**/*.less')
.pipe(concat('bundle.less'))
.pipe(less({
paths: LESS_PATHS
}))
.on('error', notify.onError(function (error) {
return 'Error(s) in less files: ' + error.message;
}))
.pipe(gulp.dest(DIST_LOCAL_DIR + '/css'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment