UNPKG

vite-plugin-svg-sfc

Version:

Convert SVGs to Vue single file component(SFC), support <style> tag

52 lines 1.18 kB
{ "name": "vite-plugin-svg-sfc", "version": "2.2.0", "description": "Convert SVGs to Vue single file component(SFC), support <style> tag", "author": "Kaciras <contact@kaciras.com>", "license": "MIT", "repository": { "url": "https://github.com/Kaciras/vite-plugin-svg-sfc" }, "keywords": [ "vite-plugin", "rollup-plugin", "vue", "svg" ], "type": "module", "exports": { "./client": { "types": "./client.d.ts" }, ".": { "types": "./index.d.ts", "default": "./index.js" } }, "files": [ "index.d.ts", "index.js", "client.d.ts" ], "dependencies": { "svgo": "^4.0.0" }, "devDependencies": { "@kaciras/eslint-config-core": "^3.3.0", "@kaciras/eslint-config-typescript": "^3.3.0", "@kaciras/eslint-config-vue": "^3.3.0", "@types/node": "^24.0.3", "@vitejs/plugin-vue": "^5.2.4", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.29.0", "rollup": "^4.44.0", "typescript": "^5.8.3", "vite": "^6.3.5", "vitest": "^3.2.4", "vue": "^3.5.17" }, "scripts": { "compile": "tsc --project tsconfig.lib.json", "test": "vitest run" } }