emotion version: 7.0.11react version: 16.0.0-alpha.13Relevant code.
const Styled = styled.div`
display: flex;
`
Problem description:
I tried to configure Autoprefixer by setting the Browserslist config in a few ways
"browserslist": [
"last 1 Chrome version"
],
[production]
last 1 Chrome version
[development]
last 1 Chrome version
BROWSERSLIST="last 1 Chrome version"What happened:
Only when setting the env variable did I get the expected result:
.css-1fe3owl {
display: flex;
}
In the other two cases I got:
.css-71uu79 {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
Released in 7.0.12
Works like a charm. Only, as far as I can tell, keyframes still seem to be prefixed unnecessarily.
Most helpful comment
Released in 7.0.12