包括了less预编译,css压缩,html文件include引入,js混淆压缩,本地开发热刷新服务器,html压缩,版本号添加 github地址: gulpfile.js var gulp = require('gulp'), //基础库 imagemin = require('gulp-imagemin'), //图片压缩 less = require('gulp-less'), // less minifycss = require('gulp-minify-css'), //css压缩 f…