{"id":17497430,"url":"https://github.com/moox/cssnext-loader","last_synced_at":"2025-04-13T13:12:31.041Z","repository":{"id":22294436,"uuid":"25629186","full_name":"MoOx/cssnext-loader","owner":"MoOx","description":"# DEPRECATED. Use postcss-loader instead.","archived":false,"fork":false,"pushed_at":"2016-01-04T07:34:26.000Z","size":15,"stargazers_count":43,"open_issues_count":9,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-27T04:12:32.553Z","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/MoOx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-23T09:22:06.000Z","updated_at":"2022-04-15T12:18:13.000Z","dependencies_parsed_at":"2022-08-21T01:00:26.110Z","dependency_job_id":null,"html_url":"https://github.com/MoOx/cssnext-loader","commit_stats":null,"previous_names":["cssnext/cssnext-loader"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fcssnext-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fcssnext-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fcssnext-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fcssnext-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoOx","download_url":"https://codeload.github.com/MoOx/cssnext-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717237,"owners_count":21150389,"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-19T15:45:47.914Z","updated_at":"2025-04-13T13:12:31.021Z","avatar_url":"https://github.com/MoOx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED. Use postcss-loader instead.\n\n---\n\n# cssnext-loader [![Build Status](http://img.shields.io/travis/cssnext/cssnext-loader.svg)](https://travis-ci.org/cssnext/cssnext-loader)\n\n\u003e a webpack loader for cssnext\n\n**Issues with the output should be reported on [cssnext issue tracker](https://github.com/cssnext/cssnext/issues).**\n\n## Install\n\n```console\n$ npm install cssnext-loader\n```\n\n## Usage\n\nAdd a cssnext section in your `webpack.config.js`\n\n```javascript\nmodule.exports = {\n  entry: \"path/to/entry\",\n  output: {\n    path: \"path/to/output/\",\n    filename: \"bundle.js\"\n  },\n  cssnext: {\n    browsers: \"last 2 versions\",\n  }\n}\n```\n\nYou can configure webpack so that it always parses CSS files like this :\n\n```javascript\nmodule: {\n  loaders: [\n    {\n      test:   /\\.css$/,\n      loader: \"style-loader!css-loader!cssnext-loader\"\n    }\n  ]\n}\n```\n\nOr, for a direct usage, in your JavaScript files :\n\n```javascript\nvar css = require(\"style-loader!css-loader!cssnext-loader!../..!./file.css\")\n```\n\n### Options\n\nOptions are directly passed to cssnext, so checkout [cssnext options](http://cssnext.io/usage/) directly.\n\n_Note: some options are by default automatically specified._\n\n- `from` \n- `to`\n- `sourcemap` (webpack `sourceMap`)\n- `compress` (webpack `minimize`)\n\n---\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Fcssnext-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoox%2Fcssnext-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Fcssnext-loader/lists"}