git ssb

0+

Rômulo Alves / website



Tree: 4829da0340008840b7dfcb92b1c75d1e1f687112

Files: 4829da0340008840b7dfcb92b1c75d1e1f687112 / gulpfile.js

417 bytesRaw
1const gulp = require('gulp')
2const usemin = require('gulp-usemin')
3const htmlmin = require('gulp-htmlmin')
4const cleanCss = require('gulp-clean-css')
5const rev = require('gulp-rev')
6
7
8gulp.task('usemin', () =>
9 gulp.src('./src/index.html')
10 .pipe(usemin({
11 css: [ rev() ],
12 html: [ htmlmin({ collapseWhitespace: true }) ],
13 inlinecss: [ cleanCss(), 'concat' ]
14 }))
15 .pipe(gulp.dest('dist/')))

Built with git-ssb-web