v2.3.0
Note
This version is not tested for Node 14 and Node 16. Please upgrade your project at least to Node 18 (Node 20 if you can). When Vite 6 will be released, Node 14 and Node 16 will not be supported by the plugin anymore.
What's changed
- Allow personnalization of the css generation (variables/mixin names) via
styles.names
options. This can be useful if you have multiple instance and want to personnalize the css variables names and mixin name.styles.names.prefix
To change the variable name of the prefixstyles.names.sprites
To change the sprites map name containing all sprites informationsstyles.names.mixin
To change the mixin name
- Add
styles.include
options to adjust the styles output. This can be useful if you have your own code or you are using multiple VitePluginSvgSpritemap instance - Update dependencies
- Upgrade pnpm to v9
Full Changelog: v2.2.4...v2.3.0