mapbox / mapbox/spritezero-cli
Fails to convert svg (which contains <use> tags)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 181
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100