gulp-css-gsub:最小化CSS类的gulp模块-源码

上传者: 42099302 | 上传时间: 2021-03-02 13:06:01 | 文件大小: 598KB | 文件类型: ZIP
一个用于减少CSS类名称的gulp模块。 介绍 Gulp-css-gsub是一个gulp模块,它将重写您的js和css文件,以减小文件大小并模糊您的代码。 好处 保护代码不被窃取 允许您查找未使用CSS规则及其应用 CSS文件的尺寸更小(最高可享受40%的折扣) 安装 npm install gulp-css-gsub --save-dev 用法 const gulp = require ( "gulp" ) ; const cssGsub = require ( "gulp-css-gsub" ) ; const rename = require ( "gulp-rename" ) ; gulp . task ( "css-gsub" , ( ) => { return gulp . src ( "./dist/css/main.css" ) . pipe

文件下载

资源详情

[{"title":"( 42 个子文件 598KB ) gulp-css-gsub:最小化CSS类的gulp模块-源码","children":[{"title":"gulp-css-gsub-master","children":[{"title":"demo.gif <span style='color:#111;'> 580.55KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"gulp-css-gsub","children":[{"title":"package.json <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"test.js <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"example2","children":[{"title":"file.js <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"file.css <span style='color:#111;'> 309B </span>","children":null,"spread":false}],"spread":true},{"title":"example5","children":[{"title":"result.js <span style='color:#111;'> 45.88KB </span>","children":null,"spread":false},{"title":"file.js <span style='color:#111;'> 51.82KB </span>","children":null,"spread":false},{"title":"file.css <span style='color:#111;'> 26.82KB </span>","children":null,"spread":false},{"title":"result.css <span style='color:#111;'> 26.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"example3","children":[{"title":"file.js <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"file.css <span style='color:#111;'> 153B </span>","children":null,"spread":false}],"spread":true},{"title":"example6","children":[{"title":"result.js <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"file.js <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"file.css <span style='color:#111;'> 420B </span>","children":null,"spread":false},{"title":"result.css <span style='color:#111;'> 375B </span>","children":null,"spread":false}],"spread":true},{"title":"example1","children":[{"title":"file.js <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"file.css <span style='color:#111;'> 35B </span>","children":null,"spread":false}],"spread":true},{"title":"example4","children":[{"title":"file.js <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"file.css <span style='color:#111;'> 286B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"gulpfile.js <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"replacer.js <span style='color:#111;'> 9.56KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 748B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"replacer.js <span style='color:#111;'> 11.64KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 854B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"demo","children":[{"title":"package.json <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"gif.html <span style='color:#111;'> 6.36KB </span>","children":null,"spread":false},{"title":"gulpfile.js <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"js","children":[{"title":"app.js <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"dist","children":[{"title":"css","children":[{"title":"main.min.css <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"main.css <span style='color:#111;'> 432B </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"app.min.js <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 5.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.min.html <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"sass","children":[{"title":"main.scss <span style='color:#111;'> 459B </span>","children":null,"spread":false}],"spread":true},{"title":"bower.json <span style='color:#111;'> 363B </span>","children":null,"spread":false}],"spread":true},{"title":"example.gif <span style='color:#111;'> 12.25KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明