Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@Applelo Applelo released this 09 Dec 15:07
dd9383b

Warning

Please upgrade your project at least to Node 18 (Node 20 or 22 if you can). This version supports only Vite 5 and Vite 6. Node 14 and Node 16 are not supported by the plugin anymore. If you cannot upgrade, use the latest version 2.0 of this plugin.

Breaking Changes

  • Drop supports for Node 14 and Node 16
  • Rename injectSVGOnDev option to injectSvgOnDev to prevent misunderstanding with SVGO. injectSVGOnDev is still supported but will be remove in a future version.
  • SVGO is now optional. If you need it, you need to install it manually as a dependency.
# npm
npm i -D svgo #if you need svgo optimization

# yarn
yarn add -D svgo #if you need svgo optimization

# pnpm
pnpm add -D svgo #if you need svgo optimization

If the SVGO package is detected, the svgo option will be set to true by default.

What's Changed

  • Update dependencies
  • SVGO is now optional
  • Fix issue with sass global built-in deprecation warning
  • Fix issue with Vite 6 with manifest.json generation #60