public function LessEngine::setSourceMaps in Less CSS Preprocessor 7.4
Same name and namespace in other branches
- 8 engines/abstract.LessEngine.inc \LessEngine::setSourceMaps()
Enable
Parameters
bool $enabled: Set the source maps flag.
string $base_path: Leading value to be stripped from each source map URL. @link http://lesscss.org/usage/#command-line-usage-source-map-basepath
string $root_path: Value to be prepended to each source map URL. @link http://lesscss.org/usage/#command-line-usage-source-map-rootpath
Overrides LessEngineInterface::setSourceMaps
File
- engines/
abstract.LessEngine.inc, line 79
Class
- LessEngine
- Class \LessEngine
Code
public function setSourceMaps($enabled = FALSE, $base_path = NULL, $root_path = NULL) {
$this->source_maps_enabled = $enabled;
$this->source_maps_base_path = $base_path;
$this->source_maps_root_path = $root_path;
}