Skip to content

Commit

Permalink
Fix: Autoprefixer is now working (#16351)
Browse files Browse the repository at this point in the history
The autoprefixer not working broke the phantomjs backend png rendering

Fixes #16345
  • Loading branch information
torkelo committed Apr 2, 2019
1 parent 7e149fb commit 2e59166
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .browserslistrc
@@ -0,0 +1,4 @@
>1%,
Chrome > 20
last 4 versions,
Firefox ESR
16 changes: 9 additions & 7 deletions scripts/webpack/postcss.config.js
@@ -1,7 +1,9 @@
module.exports = {
plugins: {
'autoprefixer': {},
'postcss-reporter': {},
'postcss-browser-reporter': {},
}
}
module.exports = () => {
return {
plugins: {
autoprefixer: {},
'postcss-reporter': {},
'postcss-browser-reporter': {},
}
};
};
2 changes: 1 addition & 1 deletion scripts/webpack/sass.rule.js
Expand Up @@ -19,7 +19,7 @@ module.exports = function(options) {
loader: 'postcss-loader',
options: {
sourceMap: options.sourceMap,
config: { path: __dirname + '/postcss.config.js' },
config: { path: __dirname },
},
},
{
Expand Down

0 comments on commit 2e59166

Please sign in to comment.