Skip to content

Commit

Permalink
Adding Safari 7 support to autoprefixer (#9534)
Browse files Browse the repository at this point in the history
PhantomJS is using a rather outdated version of WebKit, which requires
various css-prefixes to render correctly. PhantomJS doesn't have a specific
user-agent, and Safari 7 is the closet version of WebKit.
  • Loading branch information
kobelb authored Dec 19, 2016
1 parent 90c821b commit eeb4a7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/optimize/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
require('autoprefixer')({
browsers: [
'last 2 versions',
'> 5%'
'> 5%',
'Safari 7' // for PhantomJS support
]
})
]
Expand Down

0 comments on commit eeb4a7d

Please sign in to comment.