Releases: scriptex/svg-symbol-sprite
Releases · scriptex/svg-symbol-sprite
Fix weird installation issue
Correctly use SVGO config
This release fixes an issue which prevents SVGO config file to be correctly used to optimize the input SVG files.
Fix a typo in README
1.4.1 Release 1.4.1
Remove emtpy "style" attribute
This release contains the following:
- Remove the empty
style
attribute which is a result of the-s
or--style
flag usage with empty string (-s ''
) - Chore: Update the NodeJS version used in Github Actions to 18
- Chore: Update SVGO to v 3.0.1
Add ability to modify SVG props, style and SVGO config
This release adds the following options:
- The ability to pass custom SVG props (such as namespaces, aria attributes, etc) to the SVG sprite using the
-p
or--props
flag. Use-p ""
to remove any attributes. - The ability to pass custom inline style to the SVG sprite using the
-s
or--style
flag. Use-s ""
to remove any inline style. - The ability to disable optimization of input files using SVGO. Just pass
-c false
or--config false
to do this.
Fix the URL to the documentation
1.2.2 Release 1.2.2
Updated metadata
This release doesn't introduce any code changes.
This release updates all package and repository metadata.
Use double quotes in attributes
This release makes sure that the SVG attributes are properly wrapped in double quotes.
Fix the path to the default config
Improved documentation
This release improves the documentation in README and in CLI.