Fix: Autoprefixer is now working (#16351)

The autoprefixer not working broke the phantomjs backend png rendering

Fixes #16345
pull/16357/head
Torkel Ödegaard 6 years ago committed by GitHub
parent 7e149fb4d3
commit 2e59166daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .browserslistrc
  2. 16
      scripts/webpack/postcss.config.js
  3. 2
      scripts/webpack/sass.rule.js

@ -0,0 +1,4 @@
>1%,
Chrome > 20
last 4 versions,
Firefox ESR

@ -1,7 +1,9 @@
module.exports = {
plugins: {
'autoprefixer': {},
'postcss-reporter': {},
'postcss-browser-reporter': {},
}
}
module.exports = () => {
return {
plugins: {
autoprefixer: {},
'postcss-reporter': {},
'postcss-browser-reporter': {},
}
};
};

@ -19,7 +19,7 @@ module.exports = function(options) {
loader: 'postcss-loader',
options: {
sourceMap: options.sourceMap,
config: { path: __dirname + '/postcss.config.js' },
config: { path: __dirname },
},
},
{

Loading…
Cancel
Save