Compiler

Compiles the SCSS code when the file is saved in the back end.
Free
Download the package from the manager of your site.
How to download?
The author
Павел
Packages
32
Downloads
44 014
Автор дополнения
Packages
32
Downloads
44 014
Version 1.0.5-beta
Release date 12.07.2016
Downloads 392
Views 2 480
Warning! This component requires PHP version 5.4 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.3 !
At the moment it can work only with SCSS files, but since it is written on the base of Munee, then in the future it will be expanded to all its abilities (
except for images).
<cut/>

List of settings related to SCSS:


  • Folder for processing SCSS files.
    Files from this folder will be processed when saving.
  • Folder for saving CSS.
    This folder will save the compiled CSS files.
  • Compile files from subfolders?
    In addition to files from the main directory specified in the «compiler_scss_dir_from» setting, the files located in subdirectories will also be compiled when saving.
  • Skip files that begin with a dash?
    Files whose names begin with a dash "_" will not be compiled.

When developing the package, we used MinifyX by Vasiliy Naumkin.

Thread in MODX.PRO community.

1.0.5-beta (07.12.2016)

  • Исправлено предупреждение "Could not load package metadata for package compiler"
  • Исправлена ошибка "Undefined variable" за счёт обновления leafo/scssphp до версии 0.6.6

1.0.4-beta (27.08.2016)

  • Исправлено предупреждение "PHP warning: filemtime(): stat failed for ...", возникающее из-за некорректной обработки массива со списком файлов в коде Munee

1.0.3-beta (27.08.2016)

  • Обновлён leafo/scssphp до версии 0.6.5
  • Обновлён oyejorge/less.php до версии 1.7.0.5

1.0.2-beta (19.08.2016)

  • Поправлена возможность указывать относительные пути

1.0.1-beta (16.08.2016)

  • Обновлён sabberworm/php-css-parser до версии 7.0.3

1.0.0-beta (16.08.2016)

  • Start