Hi, our asset pipeline failed when we tried to upgrade to the latest version (6.9.0.0) with the following error:
SassC::SyntaxError: Error: Invalid CSS after " @return math": expected expression (e.g. 1px, bold), was ".abs($a);" (SassC::SyntaxError)
Investigating this failure led me to discover that this version introduced the use of '@use {x};' in the scss files. This syntax is only supported by dartsass and not libsass/rubysass. https://sass-lang.com/documentation/modules/
The (unreleased) update to 6.7.5 updated the gemspec to use the sassc gem instead of the sass. The now deprecated sass gem uses rubysass while sassc uses libsass. The update to 6.9.0.0 did not include a change to the dependencies indicating that the project now requires dartsass.
Was this an intentional change where a dependency update was missed or were you not aware that this syntax was not compatible with libsass?
Hi, our asset pipeline failed when we tried to upgrade to the latest version (6.9.0.0) with the following error:
Investigating this failure led me to discover that this version introduced the use of '@use {x};' in the scss files. This syntax is only supported by dartsass and not libsass/rubysass. https://sass-lang.com/documentation/modules/
The (unreleased) update to 6.7.5 updated the gemspec to use the sassc gem instead of the sass. The now deprecated sass gem uses rubysass while sassc uses libsass. The update to 6.9.0.0 did not include a change to the dependencies indicating that the project now requires dartsass.
Was this an intentional change where a dependency update was missed or were you not aware that this syntax was not compatible with libsass?