UNPKG

@endmvp/vite-plugin-svgsg

Version:

A Vite plugin to generate and manage SVG icon sprites. It scans a directory for SVG files, compiles them into a single sprite, and watches for changes to regenerate the sprite automatically.

58 lines 1.45 kB
{ "name": "@endmvp/vite-plugin-svgsg", "version": "1.1.2", "description": "A Vite plugin to generate and manage SVG icon sprites. It scans a directory for SVG files, compiles them into a single sprite, and watches for changes to regenerate the sprite automatically.", "main": "build/index.js", "types": "build/index.d.ts", "type": "module", "private": false, "files": [ "build", "README.md" ], "keywords": [ "plugin", "svg", "sprite", "icon-sprite", "svg-sprite", "icons", "web-icons", "vite-plugin", "frontend", "icon-management", "svg-icons", "asset-sprite", "automated-sprite", "icon-sprite-generator", "vite-plugin-svg", "vite-plugin-svg-sprite" ], "publishConfig": { "access": "public" }, "author": "Vasyl Vovk (https://github.com/Kristalkill)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Kristalkill/vite-plugin-svgsg.git" }, "bugs": { "url": "https://github.com/Kristalkill/vite-plugin-svgsg/issues" }, "homepage": "https://github.com/Kristalkill/vite-plugin-svgsg#readme", "dependencies": { "fs": "0.0.1-security", "path": "^0.12.7", "svgo": "^3.3.2" }, "devDependencies": { "@types/node": "^22.13.10", "typescript": "^4.5.4", "vite": "^6.2.2" }, "scripts": { "build": "npx tsc --declaration" }, "packageManager": "pnpm@10.10.0" }