【文件属性】:
文件名称:webpack-speed-rank:Webpack构建的速度等级
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-27 17:33:11
JavaScript
webpack-speed-rank
Webpack构建的速度等级
您是否想知道您的构建与其他构建相比有多慢? 安装此插件,它将告诉您。
例如,您可以在控制台中显示自定义信息,如下所示:
耗时8732 ms,打败了XXX%的build
文件资料
RankPlugin(redisOptions,callback)
参数:
redisOptions
{
host:'127.0.0.1',
port:6379
}
或者
redis://localhost:6379
callback(error,stats)
统计是一个看起来像这样的对象
{
startTime: // start time of the build
endTime: // end time of the build
duration: // duration of the build in ms
rank: //
【文件预览】:
webpack-speed-rank-master
----.travis.yml(102B)
----LICENSE(1KB)
----test()
--------testOnce.js(371B)
--------testWithRedis.js(629B)
--------testWithOutRedis.js(675B)
--------mocks()
----README.md(1KB)
----.editorconfig(203B)
----.gitignore(24B)
----index.js(1KB)
----package.json(863B)