This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
«Invalid CSS after» after use map.get #2890
Comments
can you give me example how are you using this mixin? |
(This might be sass/libsass#2309) |
The error is quite explicit IMO
|
the sass-lang docs show map.get: https://sass-lang.com/documentation/values/maps |
I lost like a hour before I understand that the documentation it wrong... PLEASE FIX ASAP |
The documentation still seems to be wrong. https://sass-lang.com/documentation/modules/map |
Node sass does not support sass modules. For that capability you'll need to switch to dart-sass. |
Thank you for the information, up until then, I used node-sass for sass modules, and it worked, thought. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi.
I ran into a problem that node-sass does not want to process the following mixin:
After starting, I get the following message:
Invalid CSS after "...ckground: #{map": expected expression (e.g. 1px, bold), was ".get($color-value, ".
How to fix this problem? The regular SASS compiler accepts this code without problems.
The text was updated successfully, but these errors were encountered: