一些常用的gulp插件
最近项目中用到的一些gulp插件
package.json:
{ "name": "gulp ext", "description": "Web Task", "author": { "name": "zhoutao", "email": "[email protected]" }, "engines": { "node": ">= 0.10.0" }, "devDependencies": { "colors": "^1.1.2",//console.log文字着色 "del": "^2.0.2",//删除文件 "gulp": "^3.9.0",//Gulp "gulp-concat": "^2.6.0",//拼接文字 "gulp-htmlmin": "latest",//HTML压缩 "gulp-imagemin": "latest",//图片压缩(无损) "gulp-inject": "^3.0.0",//HTML中插入代码 "gulp-jshint": "~1.11.0",//JSHint语法验证 "gulp-lzmajs": "^1.2.0",//JS压缩(适合JS大文件) "gulp-minify-css": "^1.2.1",//CSS压缩 "gulp-minify-html": "^1.0.4",//HTML压缩 "gulp-processhtml": "^1.1.0",//在HTML中处理各类引入文件,非常已用,强烈推荐; "gulp-rename": "~1.2.2",//改名 "gulp-rev": "latest",//版本号处理 "gulp-rev-append": "^0.1.6",//版本号处理 "gulp-rev-collector": "latest",// "gulp-uglify": "~1.2.0",// "gulp-usemin": "^0.3.14",// "imagemin-pngquant": "^4.2.0",//png无损压缩 "jshint": "~2.8.0",// "jshint-stylish": "~2.0.0",// "vinyl-paths": "^2.0.0"// } }
参考资料:
如何使用gulp给资源文件加上版本
相关推荐
星辰的笔记 2020-07-04
liangjielaoshi 2020-06-11
zhongweinan 2020-06-10
jiangfulai 2020-04-18
UndefineOrNull 2020-02-29
我有一只小松鼠 2020-02-29
UndefineOrNull 2020-03-01
hlihaihong 2020-02-18
UndefineOrNull 2020-02-12
yinuoqingqin 2020-01-13
星辰的笔记 2020-01-13
UndefineOrNull 2020-01-13
hlihaihong 2020-01-13
kaosini 2020-01-12
hlihaihong 2020-01-12
kaosini 2020-01-12
HSdiana 2019-12-25