Fix: Autoprefixer is now working (#16351)

The autoprefixer not working broke the phantomjs backend png rendering

Fixes #16345
This commit is contained in:
Torkel Ödegaard
2019-04-02 18:15:30 +02:00
committed by GitHub
parent 7e149fb4d3
commit 2e59166daa
3 changed files with 14 additions and 8 deletions

4
.browserslistrc Normal file
View File

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

View File

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

View File

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