Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. gulp.task('sass', function () {
  2. return gulp.src('./app/styles/*.scss')
  3. .pipe($.sass({
  4. style: "expanded",
  5. precision: 10,
  6. loadPath: ["app/bower_components"]
  7. }))
  8. .pipe($.uncss({
  9. html: ['./dist/*.html']
  10. }))
  11. .pipe($.csso())
  12. .pipe($.cssbeautify())
  13. .pipe($.autoprefixer("last 1 version"))
  14. .pipe(gulp.dest("dist/styles"))
  15. .pipe($.size());
  16. });
  17.  
  18. C:sitegulp-4>gulp sass
  19. [17:32:20] Using gulpfile C:sitegulp-4gulpfile.js
  20. [17:32:20] Starting 'sass'...
  21. [17:32:23] all files 874 B
  22. [17:32:23] Finished 'sass' after 2.89 s
  23.  
  24. C:sitegulp-4>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement