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

Scss suffixes is not working #450

Open
ruannawe opened this issue Mar 8, 2023 · 0 comments
Open

Scss suffixes is not working #450

ruannawe opened this issue Mar 8, 2023 · 0 comments

Comments

@ruannawe
Copy link

ruannawe commented Mar 8, 2023

When I run the command: bundle exec rake assets:precompile.

I receive the following error: Sass::SyntaxError: Invalid CSS after "&-": expected number or function, was "-another {".

My code:

.example {
    &-another {
        color: red;
    }
}

I'm using version 6 when I receive this error. Version 5.1 compile WITHOUT errors. Probably some bug between these two versions.

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