Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. gulp.task('styles', ['scripts'], function () {
  2. gulp.src([
  3. './css/app/style.css',
  4. './css/app/responsive-overwrites.css',
  5. './css/app/columns-of-same-height.css',
  6. './css/app/carousel-fade.css',
  7. './css/app/help-margin-padding.css',
  8. './css/app/baner.css',
  9. './css/app/jquery.selectBox.css',
  10. ])
  11. .pipe(plugins.concat('style.css'))
  12. .pipe(plugins.cleanCss())
  13. .pipe(plugins.rev())
  14. .pipe(gulp.dest('./assets/build'))
  15. .pipe(plugins.rev.manifest('./assets/build/manifest.json', {base: './assets/build', merge: true}))
  16. .pipe(gulp.dest('./assets/build'))
  17. ;
  18.  
  19. plugins.sass.compiler = require('node-sass');
  20.  
  21. gulp.src([
  22. './node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss',
  23. ])
  24. .pipe(plugins.sass().on('error', plugins.sass.logError))
  25. .pipe(gulp.dest('./assets/build/'))
  26. .pipe(plugins.rev())
  27. .pipe(gulp.dest('./assets/build'))
  28. .pipe(plugins.rev.manifest('./assets/build/manifest.json', {base: './assets/build', merge: true}))
  29. .pipe(gulp.dest('./assets/build'))
  30. ;
  31. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement