Commit 2e59166d by Torkel Ödegaard Committed by GitHub

Fix: Autoprefixer is now working (#16351)

The autoprefixer not working broke the phantomjs backend png rendering

Fixes #16345
parent 7e149fb4
>1%,
Chrome > 20
last 4 versions,
Firefox ESR
module.exports = { module.exports = () => {
plugins: { return {
'autoprefixer': {}, plugins: {
'postcss-reporter': {}, autoprefixer: {},
'postcss-browser-reporter': {}, 'postcss-reporter': {},
} 'postcss-browser-reporter': {},
} }
};
};
...@@ -19,7 +19,7 @@ module.exports = function(options) { ...@@ -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 },
}, },
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment