ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-gzip
Add an option to only keep gzipped files when smaller
未关闭
- 主要语言
- JavaScript
- 星标
- 11
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
描述
Sometimes you do not really know whether a file compresses good (enough) with gzip so that it will actually become smaller.
It would be nice to introduce an option which will discard the gzipped file if the resulting file is larger, and just keep the original one.
贡献指南
这个仓库没有索引到贡献指南
调研方向
该 issue 没有指出任何文件、测试或入口点。首先定位 plugin 的 gzip 处理入口点和现有的选项处理逻辑,然后检查压缩输出的写入方式。完成标准是:当 gzip 文件更大时,通过一个选项保留原文件;当 gzip 文件更小时,保留 gzip 文件,并通过测试覆盖这两种情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- release
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100