- Updates Node.js (#34)
- Minimum supported
Node.js
version is20.18.0
- Fix import assertion compatibility with Node.js 22
- Updates other packages
- Migrate ESLint/Prettier to Biome
- Minimum supported
- Improve loader errors by @jvoccia (#28)
- Updates SVGO and Node.js (#23)
- Minimum supported
Node.js
version is18.19.0
- SVGO version 3 (see SVGO releases for breaking changes)
- Updates other packages
- Minimum supported
This package is now pure ESM. Please read Sindre Sorhus ESM note for more information
- Migrate to ESM with package
exports
(#17)
- Optimize TypeScript (#16)
- Add funding key in
package.json
(228155c)
- Minimum supported
Node.js
version is16.20.0
(#12, #14) - 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.
- Add schema validation on plugin and loader options (#11)
- Fix compatibility with webpack cache (#8)
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
- Update SVGO to 2.x (#5)
- Update packages and config (#6)
- 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.
- Webpack
v4
no longer supported
- 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
- Remove the
fs-extra
package.
First release of SvgChunkWebpackPlugin