Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.0.0 #62

Merged
merged 6 commits into from
Dec 9, 2024
Merged

Version 3.0.0 #62

merged 6 commits into from
Dec 9, 2024

Conversation

Applelo
Copy link
Contributor

@Applelo Applelo commented Dec 4, 2024

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

@Applelo Applelo self-assigned this Dec 4, 2024
@Applelo Applelo linked an issue Dec 4, 2024 that may be closed by this pull request
@Applelo Applelo marked this pull request as ready for review December 9, 2024 15:06
@Applelo Applelo merged commit dd9383b into main Dec 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vite 6 - The spritemap name is not applied as a key in the manifest.json
1 participant