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

Support for CSS Nesting #37

Open
raulillana opened this issue Jan 21, 2025 · 0 comments
Open

Support for CSS Nesting #37

raulillana opened this issue Jan 21, 2025 · 0 comments

Comments

@raulillana
Copy link

raulillana commented Jan 21, 2025

Hey!

Actually CSS Nesting is not working when minifying files. The code just gets trimmed to the first element.

So a style.css like this.

html {
    width: 100%;
    height: 100%;
    
    body {
        background-color: grey;
    }
}

Will minify into this style.min.css.

html {
    width: 100%;
    height: 100%;
}

Any plans on supporting this in the near future?

REF: https://caniuse.com/css-nesting

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

1 participant