vite-plugin-svg-spritemap icon indicating copy to clipboard operation
vite-plugin-svg-spritemap copied to clipboard

Version 2.3.0

Open Applelo opened this issue 1 year ago • 0 comments

[!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

  • #39
  • #16
  • 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 prefix
    • styles.names.sprites To change the sprites map name containing all sprites informations
    • styles.names.mixin To change the mixin name
  • Add styles.includeMixin options to not include the mixin if you don't need it, you have your own or you are using multiple VitePluginSvgSpritemap instance
  • Update dependencies
  • Upgrade pnpm to v9

Applelo avatar Jan 26 '24 14:01 Applelo