

It can be passed multiple times to provide multiple load paths. This option (abbreviated -I) adds an additional load path for Sass to look for stylesheets. $ echo -e 'h1\n font-size: 40px' | sass -indented. The -indented flag is mostly useful when the input file is coming from standard input, so its syntax can’t be automatically determined. The inverse, -no-indented, can be used to force all input files to be parsed as SCSS instead. If it’s used in many-to-many mode, all input files are parsed as the indented syntax, although files they use will have their syntax determined as usual. This flag tells Sass to parse the input file as the indented syntax. The -stdin flag may not be used with many-to-many mode.

When it’s passed, no input file may be passed. This flag is an alternative way of telling Sass that it should read its input file from standard input. These options control how Sass loads its input files and how it produces output files. Options Options Input and Output Input and Output You can use partials to separate out your stylesheets without creating a bunch of unnecessary output files.

When compiling whole directories, Sass will ignore partial files whose names begin with _. # Compiles all Sass files in themes/ to CSS files in public/css/. $ sass light.scss:light.css dark.scss:dark.css # Compiles light.scss and dark.scss to light.css and dark.css. It can also compile all Sass files in a directory to CSS files with the same names in another directory. The inputs are separated from the outputs with colons. Many-to-many mode compiles one or more input files to one or more output files.
