scss-parser
scss-parser copied to clipboard
Parse error with imported (@use) variables when using alias
Parsing fails at the point when referring to a variable from an imported file with alias.
Example SCSS to parse:
@use 'variables' as vars;
body {
background: vars.$background;
}
Error
Error: Selector ("class") expected "identifier" or "interpolation" (4:31)