{"id":16627378,"url":"https://github.com/vltansky/patchangularpostcss","last_synced_at":"2025-06-16T11:08:35.483Z","repository":{"id":87740966,"uuid":"334091260","full_name":"vltansky/patchAngularPostCSS","owner":"vltansky","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-01T21:24:26.000Z","size":311,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T14:43:32.514Z","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/vltansky.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":"2021-01-29T09:06:02.000Z","updated_at":"2021-02-01T21:24:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"4031ca67-5899-44b0-b026-8116ceeb06ca","html_url":"https://github.com/vltansky/patchAngularPostCSS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vltansky/patchAngularPostCSS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vltansky%2FpatchAngularPostCSS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vltansky%2FpatchAngularPostCSS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vltansky%2FpatchAngularPostCSS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vltansky%2FpatchAngularPostCSS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vltansky","download_url":"https://codeload.github.com/vltansky/patchAngularPostCSS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vltansky%2FpatchAngularPostCSS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260148388,"owners_count":22965912,"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-10-12T04:25:03.219Z","updated_at":"2025-06-16T11:08:35.454Z","avatar_url":"https://github.com/vltansky.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Patch Angular PostCSS\n\nThis library exports function that can be used inside custom-webpack to add custom postcss plugins\n\n## API\n\n| name                  | default |             description |\n| --------------------- | :-----: | ----------------------: |\n| webpackConfig         |         |          Webpack config |\n| addPlugins            |   []    |        Array of plugins |\n| patchComponentsStyles | `false` | patch components styles |\n| patchGlobalStyles     | `true`  | patch components styles |\n\n## Example\n\n`webpack.config.js`:\n\n```\nconst { patchAngularPostCSS } = require(\"patch-angular-postcss\");\n\n\nmodule.exports = (config) =\u003e {\n  function patchAngularPostCSS({\n    webpackConfig: config,\n    addPlugins: [require('postcss-preset-env'), require('postcss-css-variables')],\n    patchComponentsStyles: true,\n    patchGlobalStyles: true,\n  }\n  return config;\n};\n```\n\n## Contributing\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n### Bundle Analysis\n\n[`size-limit`](https://github.com/ai/size-limit) is set up to calculate the real cost of your library with `npm run size` and visualize the bundle with `npm run analyze`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvltansky%2Fpatchangularpostcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvltansky%2Fpatchangularpostcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvltansky%2Fpatchangularpostcss/lists"}