Optionally not inline selectors that match multiple times
Open
Suggested Feature
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 233
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 8
Description
When a selector matches multiple times (DOM elements) and full inlining is not required,
it would be great if an option could be added that would let juice not inline
that particular selector because the overhead would be actually lower
(selector+block once vs repeating the declarations per element).
Related to: https://github.com/svg/svgo/pull/592
Contributor guide
Assessment
This issue has not been assessed yet.