Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty css rules with /*!*/ #726

Open
ludmiloff opened this issue Sep 9, 2021 · 1 comment
Open

Empty css rules with /*!*/ #726

ludmiloff opened this issue Sep 9, 2021 · 1 comment

Comments

@ludmiloff
Copy link

Tried astroturf beta.22 both with web pack and rollup.
Although it works quite good I noticed a strange empty css rules when using css tag:

const ColumCss = css`
    flex: 1;
`

produces something like this:

._3Zk5u9YHXm0-_mPxff16Kr{ /*!*/}._2O-9JWMh9qrl552If5hMvY{flex:1}

The same declaration with stylesheet tag is fine (no empty rules)

How can I avoid this?

@jquense
Copy link
Contributor

jquense commented Sep 9, 2021

the empty rules are intentional. It's pretty hard to explain in a few words but this is necessary to correctly implement composes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants