Releases: yoriiis/svg-chunk-webpack-plugin
Releases · yoriiis/svg-chunk-webpack-plugin
7.0.0
6.0.1
6.0.0
5.0.0
4.0.2
4.0.0
⚠️ Breaking changes
- Minimum supported
Node.js
version is16.20.0
(#12, #87) - Move SVGO optimization from plugin to loader (#9). The
svgoConfig
parameter on the plugin has been deleted and replaced by the official SVGO config file declared in the loader options. See SVGO configuration.
New features
- Add schema validation on plugin and loader options (#11)
Fixes
- Fix compatibility with webpack cache(#8)
3.0.0
⚠️ Breaking changes
SVGO configuration has changed since the v2.x
. Check the SVGO changelog on the releases page.
- Each plugins must have a
name
property - New plugin
preset-default
and override rules
Fixes
- Update SVGO to 2.x (#5)
Updates
- Update packages and config (#6)
2.0.1
Updates
- Remove the default
svgo
config to avoid conflicts when merging config (svgo config object array is malformed). - Remove the default
svgstore
config to allow user to override them (svgAttrs cannot be overriden otherwise). - Move the configuration of these package into the webpack configuration for example purpose and to keep the TUs up to date.
2.0.0
⚠ Breaking changes
- Webpack
v4
no longer supported
Updates
- Add the webpack
v5
compatibility (>=5.10.3
) - Use the
processAssets
compilation hook to create sprites, thesprites-preview.html
and thesprites-manifest.json
files - The plugin requires at least Node.js
10.13.0
(LTS). Theengines.node
is updated in thepackage.json
- Update the Node.js version in the Github Action
generateSpritesManifest
andgenerateSpritesPreview
can be used even in development mode