Created
March 31, 2015 14:40
-
-
Save exdeniz/17c92cceb14f339aa599 to your computer and use it in GitHub Desktop.
Gulp Task for Base64
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.task('stylusURI', function() { | |
gulp.src('./assets/b/blocks.uri.styl') | |
.pipe(stylus()) // собираем stylus | |
.pipe(cssBase64({ | |
baseDir: "../../assets/icons", | |
})) | |
.pipe(prefix()) | |
.pipe(gulp.dest('./public/css/')) // записываем css | |
.pipe(reload({ | |
stream: true | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment