{"id":24690071,"url":"https://github.com/bang9/vite-plugin-styled-components-minify","last_synced_at":"2026-02-28T19:01:50.780Z","repository":{"id":273988921,"uuid":"921525743","full_name":"bang9/vite-plugin-styled-components-minify","owner":"bang9","description":"A Vite plugin to minify styled-components template literals","archived":false,"fork":false,"pushed_at":"2025-05-08T16:28:44.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T01:27:35.666Z","etag":null,"topics":["minify","plugin","styled-components","vite","vite-plugin-styled-components"],"latest_commit_sha":null,"homepage":"","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/bang9.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":"2025-01-24T05:35:50.000Z","updated_at":"2025-05-08T16:28:51.000Z","dependencies_parsed_at":"2025-01-24T07:38:22.212Z","dependency_job_id":null,"html_url":"https://github.com/bang9/vite-plugin-styled-components-minify","commit_stats":null,"previous_names":["bang9/vite-plugin-styled-components-minify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bang9/vite-plugin-styled-components-minify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fvite-plugin-styled-components-minify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fvite-plugin-styled-components-minify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fvite-plugin-styled-components-minify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fvite-plugin-styled-components-minify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bang9","download_url":"https://codeload.github.com/bang9/vite-plugin-styled-components-minify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang9%2Fvite-plugin-styled-components-minify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29948228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["minify","plugin","styled-components","vite","vite-plugin-styled-components"],"created_at":"2025-01-26T18:19:01.254Z","updated_at":"2026-02-28T19:01:50.757Z","avatar_url":"https://github.com/bang9.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-plugin-styled-components-minify\n\nA Vite plugin to minify `styled-components` template literals.\n\n## Installation\n\nInstall the plugin using your package manager of choice:\n\n```sh\npnpm add -D vite-plugin-styled-components-minify\n```\n\n## Usage\n\nAdd the plugin to your Vite configuration:\n\n```typescript\n// vite.config.ts\nimport { defineConfig } from 'vite';\nimport viteStyledComponentsMinify from 'vite-plugin-styled-components-minify';\n\nexport default defineConfig({\n  plugins: [viteStyledComponentsMinify()],\n});\n```\n\n## Example\n\nBefore minification:\n\n```typescript\nimport styled from 'styled-components';\n\nconst Button = styled.button`\n  color: red;\n  background: blue;\n`;\n```\n\nAfter minification:\n\n```typescript\nimport styled from 'styled-components';\n\nconst Button = styled.button`color:red;background:blue;`;\n```\n\n## Tests\n\nRun the tests using Vitest:\n\n```sh\npnpm test\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbang9%2Fvite-plugin-styled-components-minify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbang9%2Fvite-plugin-styled-components-minify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbang9%2Fvite-plugin-styled-components-minify/lists"}