// gulp plugin to minify HTML.
const htmlmin = require("gulp-htmlmin");
// Minify css with clean-css.
const cleanCss = require("gulp-clean-css");
// Less for Gulp
const less = require("gulp-less");
// Minify files with UglifyJS.
const uglify = require("gulp-uglify");
// Minify PNG, JPEG, GIF and SVG images
const imagemin = require("gulp-imagemin");
// a gulp plugin for file include
const fileInclude = require("gulp-file-include");
// A gulp plugin for removing files from the dest directory prior to building.
const cleanDest = require("gulp-clean-dest");
// Rename files
const rename = require("gulp-rename");
// Concatenates files
const concat = require("gulp-concat");
// Gulp's task for transform all resources found in a CSS into base64-encoded data URI strings
const cssBase64 = require("gulp-css-base64");
// Prefix CSS
const autoprefixer = require("gulp-autoprefixer");
// Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
const useref = require("gulp-useref");
网友评论