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

CSS with @layer is not well compressed #651

Open
hajimehoshi opened this issue Dec 15, 2023 · 1 comment
Open

CSS with @layer is not well compressed #651

hajimehoshi opened this issue Dec 15, 2023 · 1 comment

Comments

@hajimehoshi
Copy link

Thank you for the nice library! I found a minor issue:

Compressing this CSS

@layer foo {
    p {
        font-weight: bold;
    }
}

results in

@layer foo{p {
        font-weight: bold;
    }
}
@tdewolff
Copy link
Owner

Thanks for raising this issue. It is a known error that depends on an upgrade for the CSS parser to support the newer CSS syntax features. It is the next thing on the list, but due to limited time I can't guarantee a quick fix unfortunately. I'll keep you updated.

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