ConnectThink / WP-SCSS

Wordpress Plugin that compiles sass using scssphp
http://wordpress.org/plugins/wp-scss/
249 stars 77 forks source link

Parse error when CSS :not() used #184

Closed benhuson closed 3 years ago

benhuson commented 3 years ago

I presume this is down to the version of the compiler that is used, but a Sass Compiling Error is currently thrown whoever it encounters CSS :not() syntax in our SASS files.

shadoath commented 3 years ago

I would assume the same. I would like to bump the ScssPHP version soon. If you want to submit a PR with updates please do else I'll do it when there is time.

shadoath commented 3 years ago

@benhuson can you give an example of the content of the :not() that you are using. Please also test out #191 with the updated scssPHP version.

darrennix commented 3 years ago

I had the same issue when compiling Boostrap5 from source.

Updating to the latest version fo scssPHP resolved the issue.

shadoath commented 3 years ago

WP-SCSS now uses ScssPhp 1.5.2.