Complete the code to set the output style for a development build in Sass.
$output-style: [1];In development, expanded style is used for easier reading of the CSS output.
Complete the code to set the output style for a production build in Sass.
$output-style: [1];For production, compressed style is used to reduce file size by removing unnecessary spaces and line breaks.
Fix the error in the Sass build command to produce a compressed CSS file.
sass source.scss output.css --style=[1]The --style=compressed flag tells Sass to output minified CSS for production.
Fill both blanks to set variables for development and production output styles.
$dev-style: [1]; $prod-style: [2];
Development uses expanded for readability, production uses compressed for smaller files.
Fill all three blanks to create a Sass script that chooses output style based on environment.
@if $env == 'production' { $output-style: [1]; } @else { $output-style: [2]; } // Use the output style sass source.scss output.css --style=[3]
In production, use compressed style; in development, use expanded. The command line uses compressed for production.