Skip to content

Instantly share code, notes, and snippets.

@stompweb stompweb/gulpfile.js
Created Oct 31, 2015

Embed
What would you like to do?
gulpfile
gulp.task('editor-style', function() {
return gulp
.src('css/editor-style.less')
.pipe(less())
.pipe(autoprefixer('last 2 version', "> 1%", "ie 8"))
.pipe(minify())
.pipe(gulp.dest('css'))
.pipe(notify({ message: 'Editor Style Compiled'}));
});
gulp.task('default', function() {
gulp.watch('./css/style-guide.less', ['editor-style']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.