Method Web.Sass.Compiler()->set_options()
- Method
set_options
- Description
Set options to the SASS compiler.
- Parameter
opts "output_style":intAny of the STYLE_NESTED, STYLE_EXPANDED, STYLE_COMPACT or STYLE_COMPRESSED constants. See also output_style.
"include_path":string(8bit)Path to root of incude files. See also include_path.
"source_map_file":string(8bit)File to write source map file to. See also source_map_file.
"source_comments":boolTurn on/off comments in the output containing info about the source file - line numbers and such. Default of false. See also source_comments.
"source_map_embed":boolTurn on/off if a source map should be embedded in the output or not. Default is false. See also source_map_embed.
"source_map_root":string(8bit)Set the root path of the source files, relative to where the source.map file is written. See also source_map_root
"omit_source_map_url":boolOmit the #sourceMappingURL or not. See also omit_source_map_url
"sass_syntax":boolTurn on/off Sass syntax, i.e. indented syntax. Only necessary when using compile_string()
"precision":intFloating point precision. See also precision.