W3cubDocs

/Sass

OutputStyle

OutputStyle: "expanded" | "compressed"

Possible output styles for the compiled CSS:

  • "expanded" (the default for Dart Sass) writes each selector and declaration on its own line.

  • "compressed" removes as many extra characters as possible, and writes the entire stylesheet on a single line.

© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/types/OutputStyle