File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -534,8 +534,7 @@ protected function cssPipeline()
534
534
{
535
535
// If a custom minifier has been set use it, otherwise fallback to default
536
536
$ minifier = (isset ($ this ->css_minifier )) ? $ this ->css_minifier : function ($ buffer ) {
537
- $ min = new \CSSmin ();
538
- return $ min ->run ($ buffer );
537
+ return \Minify_CSSmin::minify ($ buffer );
539
538
};
540
539
541
540
return $ this ->pipeline ($ this ->css , '.css ' , $ this ->css_dir , $ minifier );
@@ -550,7 +549,7 @@ protected function jsPipeline()
550
549
{
551
550
// If a custom minifier has been set use it, otherwise fallback to default
552
551
$ minifier = (isset ($ this ->js_minifier )) ? $ this ->js_minifier : function ($ buffer ) {
553
- return \JSMin::minify ($ buffer );
552
+ return \JSMin \JSMin ::minify ($ buffer );
554
553
};
555
554
556
555
return $ this ->pipeline ($ this ->js , '.js ' , $ this ->js_dir , $ minifier );
You can’t perform that action at this time.
0 commit comments