{"id":15506195,"url":"https://github.com/sooniter/unplugin-svg2solidcomp","last_synced_at":"2026-06-12T14:31:26.376Z","repository":{"id":132437531,"uuid":"524138354","full_name":"SoonIter/unplugin-svg2solidComp","owner":"SoonIter","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-02T20:13:02.000Z","size":125,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T10:57:35.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoonIter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-12T15:32:01.000Z","updated_at":"2022-08-21T07:58:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0932499-0b43-4ec0-b318-f8c79fe0d46a","html_url":"https://github.com/SoonIter/unplugin-svg2solidComp","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"12454e69cba4200131c2c25eec18b282eba5a072"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":"unplugin/unplugin-starter","purl":"pkg:github/SoonIter/unplugin-svg2solidComp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Funplugin-svg2solidComp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Funplugin-svg2solidComp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Funplugin-svg2solidComp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Funplugin-svg2solidComp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoonIter","download_url":"https://codeload.github.com/SoonIter/unplugin-svg2solidComp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Funplugin-svg2solidComp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34249560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:26:11.372Z","updated_at":"2026-06-12T14:31:26.360Z","avatar_url":"https://github.com/SoonIter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unplugin-svg2solid\n\n[![NPM version](https://img.shields.io/npm/v/unplugin-svg2solid?color=a1b858\u0026label=)](https://www.npmjs.com/package/unplugin-svg2solid)\n\nsvg2solidcomp template for [unplugin](https://github.com/unjs/unplugin).\n\n## Install\n\n```bash\nnpm i unplugin-svg2solid\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vite.config.ts\nimport svg2solidcomp from 'unplugin-svg2solid/vite'\n\nexport default defineConfig({\n  plugins: [\n    svg2solidcomp({\n      /* options */\n    }),\n  ],\n})\n```\n\nExample: [`playground/`](./playground/)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rollup.config.js\nimport svg2solidcomp from 'unplugin-svg2solid/rollup'\n\nexport default {\n  plugins: [\n    svg2solidcomp({\n      /* options */\n    }),\n  ],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// webpack.config.js\nmodule.exports = {\n  /* ... */\n  plugins: [\n    require('unplugin-svg2solid/webpack')({\n      /* options */\n    }),\n  ],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVue CLI\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vue.config.js\nmodule.exports = {\n  configureWebpack: {\n    plugins: [\n      require('unplugin-svg2solid/webpack')({\n        /* options */\n      }),\n    ],\n  },\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eesbuild\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// esbuild.config.js\nimport { build } from 'esbuild'\nimport svg2solidcomp from 'unplugin-svg2solid/esbuild'\n\nbuild({\n  plugins: [svg2solidcomp()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsooniter%2Funplugin-svg2solidcomp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsooniter%2Funplugin-svg2solidcomp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsooniter%2Funplugin-svg2solidcomp/lists"}