{"id":20650981,"url":"https://github.com/svelte-add/postcss","last_synced_at":"2025-05-10T10:30:48.092Z","repository":{"id":53726155,"uuid":"313498094","full_name":"svelte-add/postcss","owner":"svelte-add","description":"⚠️ MOVED: https://github.com/svelte-add/svelte-add/ ⚠️ Add PostCSS to your Svelte project ","archived":true,"fork":false,"pushed_at":"2023-11-19T09:12:14.000Z","size":93,"stargazers_count":45,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T17:34:02.279Z","etag":null,"topics":["cssnano","postcss","svelte","svelte-add","svelte-kit","sveltekit","vite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/svelte-add.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":"2020-11-17T03:36:49.000Z","updated_at":"2024-11-20T09:42:08.000Z","dependencies_parsed_at":"2024-11-16T17:25:32.501Z","dependency_job_id":"fdfc2134-cd61-48ec-8aac-01e20c1b74ef","html_url":"https://github.com/svelte-add/postcss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Fpostcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Fpostcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Fpostcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelte-add%2Fpostcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svelte-add","download_url":"https://codeload.github.com/svelte-add/postcss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253400934,"owners_count":21902576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cssnano","postcss","svelte","svelte-add","svelte-kit","sveltekit","vite"],"created_at":"2024-11-16T17:24:49.921Z","updated_at":"2025-05-10T10:30:47.840Z","avatar_url":"https://github.com/svelte-add.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🔺 Add PostCSS to Svelte\u003c/h1\u003e\n\n[![GitHub issues by-label](https://img.shields.io/github/issues/svelte-add/svelte-add/confirmed%20bug?color=%23DC2626)](https://github.com/svelte-add/svelte-add/issues?q=is%3Aopen+is%3Aissue+label%3A%22confirmed+bug%22)\n[![GitHub issues by-label](https://img.shields.io/github/issues/svelte-add/svelte-add/support%20question?color=%23FACC15)](https://github.com/svelte-add/svelte-add/issues?q=is%3Aopen+is%3Aissue+label%3A%22support+question%22)\n\nThis is an adder for `svelte-add`; you should [read its `README`](https://github.com/svelte-add/svelte-add#readme) before continuing here.\n\n## ➕ Adding PostCSS\n\nThis adder's codename is `postcss`, and can be used like so:\n\n```sh\nnpx svelte-add@latest postcss\n```\n\n### 🏞 Supported environments\n\nThis adder supports SvelteKit and Vite-powered Svelte apps (all the environments `svelte-add` currently supports).\n\n### ⚙️ Options\n\n- `autoprefixer` (default `true`): whether or not to install and set up [Autoprefixer](https://github.com/postcss/autoprefixer).\n\n```sh\nnpx svelte-add@latest postcss --postcss-autoprefixer\n```\n\n## 🛠 Using PostCSS\n\nAfter the adder runs,\n\n- You can write PostCSS syntax in the `style lang=\"postcss\"` blocks in Svelte files.\n\n- You can write PostCSS syntax in the `src/app.pcss` file.\n\n  This is your global stylesheet because it will be active on every page of your site.\n\n- You can install more [PostCSS plugins](https://github.com/postcss/postcss/blob/main/docs/plugins.md) and configure them in the `postcss.config.cjs` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelte-add%2Fpostcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvelte-add%2Fpostcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelte-add%2Fpostcss/lists"}