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

Vite plugin to generate svg spritemap

Results 9 vite-plugin-svg-spritemap issues
Sort by recently updated
recently updated
newest added

I have been at this all day but it seems that plugin cant resolve path correctly as per README.md Clean new VITE project with VUE Vite.config.js ``` import { defineConfig...

bug

Currently, multiple instance of the plugin are not possible because of the __spritemap server. Make `/__spritemap` editable by the user with the `output.name` option ? ```ts { plugins: [ VitePluginSvgSpritemap('./assets/icons/*.svg',...

enhancement

How to use as npm package. I have a problem with not being able to set the path to the sprite file in production mode

Hello. My SVG sprite does not reassemble in development mode if I delete or add an element to the icon pack. https://github.com/uskov-dev/tstvite

bug

Hi, how would I add the correct SVG path when using native JavaScript? This won't replace the correct path: ```js const svg = document.createElement('svg'); const svgUse = document.createElement('use'); svgUse.setAttribute('href', '/__spritemap#sprite-comment');...

enhancement

Hi Thank you for creating this plugin. I wonder if we can make this work with React too. Like svgr but with SVG sprites. I currently use https://github.com/alexanderson1993/svg-icons-cli/ for it...

enhancement

When an icon is updated/renamed, the old value is still present. A new build or reload of the plugin remove the duplicated. Below change the name of the file 2...

bug

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

Make the css mask generation optional inside the option.

enhancement