mlezitom / less-compiler
Less compiler
dev-master
2015-03-14 09:07 UTC
Requires
- leafo/lessphp: 0.4.*
- nette/utils: >2.2.2
This package is not auto-updated.
Last update: 2025-03-25 18:01:30 UTC
README
Compiles LESS files to CSS. Invalidates files automatically according to the file last change timestamp.
usage:
$compiler = new \LessCompiler(); $compiler->setSrcPath($this->context->parameters['wwwDir'] . "/less"); $compiler->setTargetPath($this->context->parameters['wwwDir'] . "/css"); $compiler->addTask("main.less", "main.min.css"); $compiler->run();