{"id":13790060,"url":"https://github.com/deanc/esbuild-plugin-postcss","last_synced_at":"2025-06-18T00:32:59.724Z","repository":{"id":38418591,"uuid":"334657129","full_name":"deanc/esbuild-plugin-postcss","owner":"deanc","description":"Plugin for esbuild to support SASS styles","archived":false,"fork":false,"pushed_at":"2025-02-12T11:00:33.000Z","size":412,"stargazers_count":47,"open_issues_count":2,"forks_count":18,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T22:24:52.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deanc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-01-31T13:06:06.000Z","updated_at":"2025-03-28T13:20:36.000Z","dependencies_parsed_at":"2024-11-18T04:33:14.495Z","dependency_job_id":"b746ddfa-431b-4bd4-9e4d-79c2fbe9319b","html_url":"https://github.com/deanc/esbuild-plugin-postcss","commit_stats":{"total_commits":36,"total_committers":6,"mean_commits":6.0,"dds":"0.19444444444444442","last_synced_commit":"af3e9a27ec5ce006f9e780f4d7b04274458c38c4"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/deanc/esbuild-plugin-postcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanc%2Fesbuild-plugin-postcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanc%2Fesbuild-plugin-postcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanc%2Fesbuild-plugin-postcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanc%2Fesbuild-plugin-postcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deanc","download_url":"https://codeload.github.com/deanc/esbuild-plugin-postcss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanc%2Fesbuild-plugin-postcss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260461783,"owners_count":23012978,"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":[],"created_at":"2024-08-03T22:00:36.440Z","updated_at":"2025-06-18T00:32:54.708Z","avatar_url":"https://github.com/deanc.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"(Huge thanks to https://github.com/koluch/esbuild-plugin-sass which this is based off)\n\n# esbuild-plugin-postcss\n\n![Node.js CI](https://github.com/deanc/esbuild-plugin-postcss/workflows/Node.js%20CI/badge.svg)\n\nPlugin for [esbuild](https://esbuild.github.io/) to support PostCSS\n\n## Install\n\n```bash\nnpm i esbuild @deanc/esbuild-plugin-postcss\n```\nor yarn\n```bash\nyarn add esbuild @deanc/esbuild-plugin-postcss\n```\n\n## Usage example\n\nCreate file `src/test.css`:\n\n```css\ninput[type=\"text\"] {\n  border-radius: 1px;\n}\n```\n\nCreate file `src/index.js`:\n\n```js\nimport \"./test.css\";\n```\n\nCreate file `build.js`:\n\n```js\nconst esbuild = require(\"esbuild\");\nconst autoprefixer = require(\"autoprefixer\");\nconst postCssPlugin = require(\"@deanc/esbuild-plugin-postcss\");\n\nesbuild\n  .build({\n    entryPoints: [\"src/index.js\"],\n    bundle: true,\n    outfile: \"bundle.js\",\n    plugins: [\n      postCssPlugin({\n        plugins: [autoprefixer],\n      }),\n    ],\n  })\n  .catch((e) =\u003e console.error(e.message));\n```\n\nRun:\n\n```bash\nnode build.js\n```\n\nFile named `bundle.css` with appropriate postcss plugins applied.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanc%2Fesbuild-plugin-postcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeanc%2Fesbuild-plugin-postcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanc%2Fesbuild-plugin-postcss/lists"}