mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-36457 remove GPL incompatible JSMin.php
Credit goes to Hubert Chathi, thanks!
This commit is contained in:
parent
8ccaa296fa
commit
4549385e04
4 changed files with 5 additions and 385 deletions
|
@ -114,6 +114,8 @@ function js_minify($files) {
|
|||
Minify::setCache(null, false);
|
||||
|
||||
$options = array(
|
||||
// JSMin is not GNU GPL compatible, use the plus version instead.
|
||||
'minifiers' => array(Minify::TYPE_JS => array('JSMinPlus', 'minify')),
|
||||
'bubbleCssImports' => false,
|
||||
// Don't gzip content we just want text for storage
|
||||
'encodeOutput' => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue