Skip to content

Releases: yoriiis/svg-chunk-webpack-plugin

7.0.0

18 Nov 14:31
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Updates Node.js (#34)
    • Minimum supported Node.js version is 20.18.0
    • Fix import assertion compatibility with Node.js 22
    • Updates other packages
    • Migrate ESLint/Prettier to Biome

6.0.1

21 May 19:42
Compare
Choose a tag to compare

Fixes

6.0.0

14 Feb 16:05
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Updates SVGO and Node.js (#23)
    • Minimum supported Node.js version is 18.19.0
    • SVGO version 3 (see SVGO releases for breaking changes)
    • Updates other packages

5.0.0

02 Oct 10:20
Compare
Choose a tag to compare

⚠️ Breaking changes

This package is now pure ESM. Please read Sindre Sorhus ESM note for more information

  • Migrate to ESM with package exports (#17)

4.0.2

09 Jun 12:43
Compare
Choose a tag to compare

Updates

  • Optimize TypeScript (#16)

4.0.0

27 Apr 09:27
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Minimum supported Node.js version is 16.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

20 Apr 09:23
Compare
Choose a tag to compare

⚠️ 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

08 Feb 14:59
1fd1a3c
Compare
Choose a tag to compare

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

19 Jan 18:20
079f7e9
Compare
Choose a tag to compare

⚠ Breaking changes

  • Webpack v4 no longer supported

Updates

  • Add the webpack v5 compatibility (>=5.10.3)
  • Use the processAssets compilation hook to create sprites, the sprites-preview.html and the sprites-manifest.json files
  • The plugin requires at least Node.js 10.13.0 (LTS). The engines.node is updated in the package.json
  • Update the Node.js version in the Github Action
  • generateSpritesManifest and generateSpritesPreview can be used even in development mode

1.0.0

01 Jun 11:10
Compare
Choose a tag to compare

New features

First release of SvgChunkWebpackPlugin