{"id":23303533,"url":"https://github.com/umami-software/esbuild-plugin-css-modules","last_synced_at":"2026-02-05T22:03:39.175Z","repository":{"id":268952205,"uuid":"905968695","full_name":"umami-software/esbuild-plugin-css-modules","owner":"umami-software","description":"esbuild plugin for bundling CSS modules with PostCSS","archived":false,"fork":false,"pushed_at":"2024-12-20T03:23:43.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-28T05:32:12.520Z","etag":null,"topics":["css","css-modules","esbuild","esbuild-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/umami-software.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-19T22:02:59.000Z","updated_at":"2025-04-04T02:19:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"d298f6d6-1c13-497b-b0a6-69a2ced90f53","html_url":"https://github.com/umami-software/esbuild-plugin-css-modules","commit_stats":null,"previous_names":["umami-software/esbuild-plugin-css-modules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/umami-software/esbuild-plugin-css-modules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umami-software%2Fesbuild-plugin-css-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umami-software%2Fesbuild-plugin-css-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umami-software%2Fesbuild-plugin-css-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umami-software%2Fesbuild-plugin-css-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umami-software","download_url":"https://codeload.github.com/umami-software/esbuild-plugin-css-modules/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umami-software%2Fesbuild-plugin-css-modules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29135941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T21:59:57.939Z","status":"ssl_error","status_checked_at":"2026-02-05T21:59:57.628Z","response_time":65,"last_error":"SSL_read: 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":["css","css-modules","esbuild","esbuild-plugin"],"created_at":"2024-12-20T11:12:40.903Z","updated_at":"2026-02-05T22:03:39.168Z","avatar_url":"https://github.com/umami-software.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @umami/esbuild-plugin-css-modules\n\nA esbuild plugin for bundling CSS modules using [PostCSS](https://postcss.org/).\n\n## Install\n\n```shell\nnpm install @umami/esbuild-plugin-css-modules\n```\n\n## Usage\n\nThe plugin accepts the available options from [postcss-modules](https://github.com/madyankin/postcss-modules).\n\n```javascript\nimport esbuild from 'esbuild';\nimport cssModules from '@umami/esbuild-plugin-css-modules';\n\n// postcss-modules plugin options\nconst options = {};\n\nesbuild\n  .build({\n    entryPoints: ['src/index.js'],\n    outfile: 'dist/index.js',\n    plugins: [cssModules(options)],\n  })\n  .catch(e =\u003e {\n    console.error(e);\n    process.exit(1);\n  });\n```\n\nAfter the build process, you will have a CSS file `dist/index.css` with class names in the format\nof `[name]_[local]__[hash]`. You can pass in your own `generateScopedName` function to modify the\ndefault behavior.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumami-software%2Fesbuild-plugin-css-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumami-software%2Fesbuild-plugin-css-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumami-software%2Fesbuild-plugin-css-modules/lists"}