Skip to content

Commit

Permalink
Update Autoprefixer to v9.6.5
Browse files Browse the repository at this point in the history
Fixes #75
  • Loading branch information
sindresorhus committed Oct 24, 2019
1 parent 94578eb commit 7948c1c
Show file tree
Hide file tree
Showing 849 changed files with 26,519 additions and 2,672 deletions.
11 changes: 8 additions & 3 deletions autoprefixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ var postcssSafeParser = require('postcss-safe-parser');
var postcssScssParser = require('postcss-scss');

getStdin().then(function (data) {
var opts = JSON.parse(process.argv[2]);
var options = JSON.parse(process.argv[2]);

var postcssParser = opts.is_css ? postcssSafeParser : postcssScssParser;
if (options.browsers) {
options.overrideBrowserslist = options.browsers;
delete options.browsers;
}

postcss(autoprefixer(opts)).process(data, {
var postcssParser = options.is_css ? postcssSafeParser : postcssScssParser;

postcss(autoprefixer(options)).process(data, {
parser: postcssParser,
from: undefined
})
Expand Down
2 changes: 1 addition & 1 deletion node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 13 additions & 10 deletions node_modules/ansi-styles/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions node_modules/autoprefixer/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7948c1c

Please sign in to comment.