美文网首页
Gulpfile.js

Gulpfile.js

作者: zhuyx0304 | 来源:发表于2020-04-22 16:23 被阅读0次
// 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");

相关文章

网友评论

      本文标题:Gulpfile.js

      本文链接:https://www.haomeiwen.com/subject/suxwihtx.html