Your IP : 13.59.62.63


Current Path : /home/ncdcgo/ele.ncdc.go.ug/lib/minify/
Upload File :
Current File : /home/ncdcgo/ele.ncdc.go.ug/lib/minify/readme_moodle.txt

Description of MatthiasMullie\Minify import into Moodle

1) Download https://github.com/matthiasmullie/minify/archive/X.Y.ZZ.zip and unzip

mv minify-X.Y.ZZ/src /path/to/moodle/lib/minify/matthiasmullie-minify/
mv minify-X.Y.ZZ/data /path/to/moodle/lib/minify/matthiasmullie-minify/

2) Download https://github.com/matthiasmullie/path-converter/archive/A.B.C.zip and unzip

mv path-converter-A.B.C/src/ /path/to/moodle/lib/minify/matthiasmullie-pathconverter/


3) Apply the following patches:

MDL-68191: https://github.com/matthiasmullie/minify/issues/317 is a bug that stops
  large sections of the CSS from being minimised, and also is a huge performance drain.
  We have applied the fix sent upstream because the performance win is so big.
  (E.g. one case I measured, with the bug was 40 seconds to minify CSS, with the fix was
  a few seconds. This is one of the reasons Behat runs in the browser are so slow.)
  Whenever this library is updated check if the fix is included and remove this note.
  NOTE: As of 2020/12/08, only the first commit was brought into Moodle