Open
Bug 1220483
Opened 9 years ago
Updated 2 years ago
Set up a command line tool to clean our SVG files
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
NEW
People
(Reporter: ntim, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
2.63 KB,
patch
|
Details | Diff | Splinter Review |
Something like https://github.com/svg/svgo would be nice.
Reporter | ||
Updated•9 years ago
|
Summary: Set up a command line tool to clean our SVGs → Set up a command line tool to clean our SVG files
Reporter | ||
Updated•9 years ago
|
Component: Build Config → mach
Product: Firefox → Core
Reporter | ||
Comment 1•9 years ago
|
||
This adds an SVGO command, the code is based on the eslint one.
TODO:
- Make sure it adds a license header to SVGO files (it currently strips it out)
- Make the tool use 2 space indent instead of 4 space indent
Reporter | ||
Updated•9 years ago
|
Attachment #8681717 -
Attachment is patch: true
Reporter | ||
Comment 2•9 years ago
|
||
Attachment #8681717 -
Attachment is obsolete: true
Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #1)
> - Make the tool use 2 space indent instead of 4 space indent
SVGO has since added: --indent=2 as option.
What we need is:
- License header
- Configure SVGO to not change IDs to a,b,c,d,e,f,...
- Configure SVGO to not remove the SVG title
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•