Open trusktr opened 8 years ago
Does CSSX support that media query?
Works when I remove the #
symbols, as in
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
permission-disclamer{
...
}
}
/* MD Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
permission-disclamer{
...
}
}
As a workaround, I was able to just use a class instead, with the .
, which works.
@trusktr yep, you hit a bug. It looks like the transpiler didn't understand selectors inside a media query that start with #
. Have no idea how I missed that. I'll fix it I hope soon. I'll let you know.
Cool. No rush in my case, as the workaround was easy.
I have a file that contains this:
and when I compile (Webpack with cssx-loader) I get the error: