Search code examples
sassgruntjsautoprefixer

Grunt autoprefixer error when using @extent in scss file


Error:

Running "autoprefixer:dist" (autoprefixer) task
File .tmp/styles/documentation.css created.
Warning: Can't parse CSS: Missing property value at line 66:21 in .tmp/styles/main.css Use --force to continue.

Line 66 points to the following code:

Source:

span {
  @extent .md-body-1;
}

p {
  @extent .md-body-1;
}

I can't extent a tag in scss? Or is a autoprefixer issue?


Solution

  • you need to use @extend not @extent