Generate SVG sprites according to entrypoint dependencies. Each page only imports its own svgs, wrapped as a sprite and optimized by SVGO
MIT License
Published by yoriiis 9 months ago
Node.js
version is 18.19.0
Published by yoriiis about 1 year ago
exports
(#17)Published by yoriiis over 1 year ago
Node.js
version is 16.20.0
(#12, #87)svgoConfig
parameter on the plugin has been deleted and replaced by the official SVGO config file declared in the loader options. See SVGO configuration.Published by yoriiis over 2 years ago
SVGO configuration has changed since the v2.x
. Check the SVGO changelog on the releases page.
name
propertypreset-default
and override rulesPublished by yoriiis over 3 years ago
svgo
config to avoid conflicts when merging config (svgo config object array is malformed).svgstore
config to allow user to override them (svgAttrs cannot be overriden otherwise).Published by yoriiis almost 4 years ago
v4
no longer supportedv5
compatibility (>=5.10.3
)processAssets
compilation hook to create sprites, the sprites-preview.html
and the sprites-manifest.json
files10.13.0
(LTS). The engines.node
is updated in the package.json
generateSpritesManifest
and generateSpritesPreview
can be used even in development modePublished by yoriiis over 4 years ago
First release of SvgChunkWebpackPlugin