import gulp from 'gulp'
import minHTML from 'gulp-htmlmin'
import includeHTML from 'gulp-html-tag-include'
import inlineSource from 'gulp-inline-source'

export function serveHTML() {
    return gulp.src('./*.html')
        .pipe(includeHTML())
        .pipe(inlineSource())
        .pipe(minHTML({ collapseWhitespace: true, removeComments: true }))
        .pipe(gulp.dest('../wp-content/themes/biuro/'))
}
