{"id":15643645,"url":"https://github.com/koistya/csscomb-loader","last_synced_at":"2025-04-30T10:12:13.494Z","repository":{"id":26333352,"uuid":"29782000","full_name":"koistya/csscomb-loader","owner":"koistya","description":"CSScomb loader for Webpack. Allows to format CSS coding style at a build time and/or lint your CSS","archived":false,"fork":false,"pushed_at":"2015-01-26T05:57:56.000Z","size":176,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T16:16:53.990Z","etag":null,"topics":[],"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/koistya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-24T16:02:40.000Z","updated_at":"2017-06-27T18:24:52.000Z","dependencies_parsed_at":"2022-08-27T13:43:32.810Z","dependency_job_id":null,"html_url":"https://github.com/koistya/csscomb-loader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koistya%2Fcsscomb-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koistya%2Fcsscomb-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koistya%2Fcsscomb-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koistya%2Fcsscomb-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koistya","download_url":"https://codeload.github.com/koistya/csscomb-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251596805,"owners_count":21615039,"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-03T12:00:44.458Z","updated_at":"2025-04-30T10:12:13.474Z","avatar_url":"https://github.com/koistya.png","language":"JavaScript","readme":"# CSScomb Loader for Webpack\n\n\u003e Format CSS coding style with [CSScomb](http://csscomb.com/) and [Webpack](http://webpack.github.io/).\n\n*If you have any difficulties with the output of this plugin, please use the\n[CSScomb tracker](https://github.com/csscomb/csscomb.js/issues).*\n\n## How to Install\n\n[![NPM](https://nodei.co/npm/csscomb-loader.png?compact=true)](https://www.npmjs.org/package/csscomb-loader)\n\n```sh\nnpm install csscomb-loader --save-dev\n```\n\n## How to Use\n\n**Option 1**: Via command line:\n\n```shell\nwebpack ./src/app.js ./build/app.js --module-bind 'css=style!css!csscomb'\n```\n\n**Option 2**: Configuration file:\n\n```js\nmodule.exports = {\n    entry: './src/app.js',\n    output: {\n        filename: 'app.js',\n        path: './build'\n    },\n    module: {\n        loaders: [\n            { test: /\\.css$/, loader: 'style!css!csscomb' }\n        ]\n    }\n};\n```\n\n## Reference Articles\n\n * [Sorting CSS properties, the better way](http://www.smashingmagazine.com/2012/10/02/csscomb-tool-sort-css-properties/) by Vyacheslav Oliyanchuk\n * [Reduce file size with CSS Sorting](http://peteschuster.com/2014/12/reduce-file-size-css-sorting/) by Pete Schuster\n\n## License\n\n[MIT](./LICENSE.txt) (c) Konstantin Tarkus ([@koistya](https://twitter.com/koistya))\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoistya%2Fcsscomb-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoistya%2Fcsscomb-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoistya%2Fcsscomb-loader/lists"}