{"id":13671752,"url":"https://github.com/passy/autoprefixer-loader","last_synced_at":"2025-05-16T19:07:27.506Z","repository":{"id":14384011,"uuid":"17094276","full_name":"passy/autoprefixer-loader","owner":"passy","description":"Webpack loader for autoprefixer","archived":false,"fork":false,"pushed_at":"2020-03-26T15:48:11.000Z","size":35,"stargazers_count":217,"open_issues_count":3,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-14T07:53:36.778Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/passy.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}},"created_at":"2014-02-22T20:44:31.000Z","updated_at":"2023-08-24T15:00:40.000Z","dependencies_parsed_at":"2022-09-11T03:00:51.650Z","dependency_job_id":null,"html_url":"https://github.com/passy/autoprefixer-loader","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fautoprefixer-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fautoprefixer-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fautoprefixer-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fautoprefixer-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/passy","download_url":"https://codeload.github.com/passy/autoprefixer-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254592395,"owners_count":22097013,"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-02T09:01:17.765Z","updated_at":"2025-05-16T19:07:27.488Z","avatar_url":"https://github.com/passy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# autoprefixer-loader [![Build Status](https://travis-ci.org/passy/autoprefixer-loader.svg?branch=master)](https://travis-ci.org/passy/autoprefixer-loader) [![Dependency Status](https://gemnasium.com/passy/autoprefixer-loader.png)](https://gemnasium.com/passy/autoprefixer-loader) [![Code Climate](https://codeclimate.com/github/passy/autoprefixer-loader.png)](https://codeclimate.com/github/passy/autoprefixer-loader)\n\nAn [autoprefixer](https://github.com/ai/autoprefixer) loader for [webpack](https://github.com/webpack/webpack).\n\n\u003e ### :warning: This module is deprecated. [Autoprefixer official page](https://github.com/postcss/autoprefixer#webpack) recommends using [`postcss-loader`](https://github.com/postcss/postcss-loader) instead.\n\n## Usage\n\n```js\nvar css = require('!raw!autoprefixer!./file.css'); // Just the CSS\nvar css = require('!css!autoprefixer!./file.css'); // CSS with processed url(...)s\n```\n\nSee [css-loader](https://github.com/webpack/css-loader) to see the effect of processed `url(...)`s.\n\nOr within the webpack config:\n\n```js\nmodule: {\n  loaders: [{\n    test: /\\.css$/,\n    loader: 'css-loader!autoprefixer-loader?browsers=last 2 versions'\n  }]\n}\n```\n\nThen you can: `var css = require('./file.css');`.\n\nUse in tandem with the [style-loader](https://github.com/webpack/style-loader) to add the css rules to your `document`:\n\n```js\nmodule: {\n  loaders: [{\n    test: /\\.css/,\n    loader: 'style-loader!css-loader!autoprefixer-loader'\n  }]\n}\n```\n\nand then `require('./file.css');` will compile and add the CSS to your page.\n\n## Options\n\n### `browsers`\n\nSpecify a single browser to support. [Read\n  more](https://github.com/postcss/autoprefixer#browsers)\n\n```js\nloaders: [{\n  loader: 'css-loader!autoprefixer-loader?browsers=last 2 version',\n  ...\n}]\n```\n\nFor a list of browsers use JSON syntax.\n```js\nloaders: [{\n  loader: 'css-loader!autoprefixer-loader?{browsers:[\"last 2 version\", \"Firefox 15\"]}',\n  ...\n}]\n```\n\n### `cascade`\n\n*Default: true*\n\nWhen disabled, autoprefixer creates no visual cascade for the generated\nprefixes.\n[Read more](https://github.com/postcss/autoprefixer#visual-cascade)\n\n```js\nloaders: [{\n  loader: 'css-loader!autoprefixer-loader?cascade=false',\n  ...\n}]\n```\n\n### `safe`\n\n*Default: false*\n\nWhen enabled, autoprefixer will attempt to parse invalid CSS. [Read\nmore](https://github.com/postcss/autoprefixer-core#safe-mode)\n\n```js\nloaders: [{\n  loader: 'css-loader!autoprefixer-loader?safe=true',\n  ...\n}]\n```\n\n### `add`\n\n*Default: true*\n\nWhile disabled, autoprefixer will not add any new prefixes to your code. [Read\nmore](https://github.com/postcss/autoprefixer#usage)\n\n```js\nloaders: [{\n  loader: 'css-loader!autoprefixer-loader?add=false',\n  ...\n}]\n```\n\n### `remove`\n\n*Default: true*\n\nWhether or not autoprefixer should automatically remove outdated prefixes. [Read\nmore](https://github.com/postcss/autoprefixer#usage)\n\n```js\nloaders: [{\n  loader: 'css-loader!autoprefixer-loader?remove=false',\n  ...\n}]\n```\n\n## Install\n\n`npm install autoprefixer-loader --save-dev`\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\n\n## Release History\n* 3.1.0 - Upgrade dependencies, move to autoprefixer (no longer -core)\n* 3.0.0 - Upgrade to autoprefixer-core 6.0\n* 2.1.0 - Add `add`, `remove` options, bump autoprefixer-core\n* 2.0.0 - Updated autoprefixer + postcss\n* 1.2.0 - Added support for existing sourcemaps from earlier in the chain\n* 0.1.0 - Initial release\n\n## License\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Fautoprefixer-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassy%2Fautoprefixer-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Fautoprefixer-loader/lists"}