grunt pagespeed:Grunt插件可作为CI的一部分运行Google PageSpeed Insights 源码

上传:qqfertilizer17541 浏览: 9 推荐: 0 文件:ZIP 大小:41.31KB 上传时间:2021-02-23 12:47:17 版权申诉
页面速度 Grunt插件,用于运行 使用Google PageSpeed Insights,使用和对已部署的站点运行移动和桌面性能测试。 该插件是为Grunt 0.4.1开发的,未经测试与Grunt 0.3.x向后兼容。 安装 使用以下命令安装此grunt插件: npm install grunt-pagespeed --save-dev 加载插件 将此添加到项目的Gruntfile.js gruntfile中: grunt.loadNpmTasks('grunt-pagespeed'); 或者,将其添加到项目的Gruntfile.coffee gruntfile中: grunt.
上传资源
用户评论