-
-
Save magsout/077dcaa65ce66feac5f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* gulp stylesheets or gulp stylesheets --production */ | |
gulp.task("stylesheets", function() { | |
return gulp.src("./assets/css/admin.css") | |
.pipe(options.production ? plumber() : gutil.noop()) | |
.pipe(cssnext({ | |
sourcemap : !options.production, | |
browsers : ['ff >= 30', 'ie >= 8', 'safari >= 5.1', 'opera >= 12', 'chrome >=20'] | |
})) | |
.pipe(options.production ? minifyCSS({keepSpecialComments:0}) : gutil.noop()) | |
.pipe(gulp.dest("./assets/build/stylesheets")) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment