7.0 - media types not working
gpoitch opened this issue · 2 comments
gpoitch commented
Since 7.0, this no longer works:
@custom-media --tabletUp screen and (min-width: 600px);
The output is:
@media screen(min-width: 600px)
Seems to be missing 'and'
This works fine:
@custom-media --tabletUp (min-width: 600px);
gpoitch commented
Looks like maybe an issue with the 'and' regular expression. Failing test: c8186a9
jonathantneal commented
Thanks for finding this. It has been fixed in 7.0.4, which (to whom it concerns) has been pushed into postcss-preset-env 6.0.6.