Fix: Autoprefixer is now working (#16351)

The autoprefixer not working broke the phantomjs backend png rendering

Fixes #16345

(cherry picked from commit 2e59166daa)
This commit is contained in:
Torkel Ödegaard
2019-04-03 09:57:16 +02:00
parent bd93aad63d
commit 21957ad515
3 changed files with 14 additions and 8 deletions
+9 -7
View File
@@ -1,7 +1,9 @@
module.exports = {
plugins: {
'autoprefixer': {},
'postcss-reporter': {},
'postcss-browser-reporter': {},
}
}
module.exports = () => {
return {
plugins: {
autoprefixer: {},
'postcss-reporter': {},
'postcss-browser-reporter': {},
}
};
};
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = function(options) {
loader: 'postcss-loader',
options: {
sourceMap: options.sourceMap,
config: { path: __dirname + '/postcss.config.js' },
config: { path: __dirname },
},
},
{