mapbox / mapbox/spritezero-cli
Fails to convert svg (which contains <use> tags)
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 181
- 派生
- 67
- PR 合并指标
- 30 天内没有已合并 PR
描述
The attached svg does not seem to get converted in to the png sprite (nor does it throw an error btw).
I suspect the tags to cause the problem
a- is there a way to ensure it *does* convert? and if not
b- do you have any recommendation on any tools that can replace tags with the referenced tags? preferably a commandline tool rather than some gui
[Star.svg.zip](https://github.com/mapbox/spritezero-cli/files/1734799/Star.svg.zip)
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
Use the attached Star.svg as the reproduction and run it through the CLI to confirm the silent conversion failure. The issue names no source files or tests, so trace the SVG conversion entry point and add or update coverage for elements; done means the SVG converts successfully or the limitation is documented with a clear recommendation.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 32/100