Skip to content

Commit

Permalink
Improve CSS JS minification libraries (#779)
Browse files Browse the repository at this point in the history
* Improve CSS JS minification libraries

* Fix css/js replacement leaving empty line

* Remove extra function

* Review fix
  • Loading branch information
timotei-litespeed authored Dec 9, 2024
1 parent f080b75 commit 511a4aa
Show file tree
Hide file tree
Showing 20 changed files with 1,883 additions and 1,579 deletions.
12 changes: 6 additions & 6 deletions autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@
'cli/purge.cls.php',

// 3rd party libraries
'lib/css-min/colors.cls.php',
'lib/css-min/minifier.cls.php',
'lib/css-min/urirewriter.cls.php',
'lib/css-min/utils.cls.php',
'lib/css_js_min/pathconverter/converter.cls.php',
'lib/css_js_min/minify/exception.cls.php',
'lib/css_js_min/minify/minify.cls.php',
'lib/css_js_min/minify/css.cls.php',
'lib/css_js_min/minify/js.cls.php',
'lib/urirewriter.cls.php',
'lib/guest.cls.php',
'lib/html-min.cls.php',
'lib/jsmin.cls.php',
// 'lib/object-cache.php',
// 'lib/php-compatibility.func.php',

// upgrade purpose delay loaded funcs
// 'src/data.upgrade.func.php',

);
foreach ($litespeed_php_files as $class) {
$file = LSCWP_DIR . $class;
Expand Down
156 changes: 0 additions & 156 deletions lib/css-min/colors.cls.php

This file was deleted.

Loading

0 comments on commit 511a4aa

Please sign in to comment.