Minifier - asset minification and versioning library |
Hmm... I think this is a bug related to the way CodeIgniter discover custom namespaces right now.
You have to place part: PHP Code: 'Michalsn\Minifier' => APPPATH .'ThirdParty/minifier/src'
Just an update on the issue with $psr4 array. This problem was fixed in the latest develop branch, so if you use the latest CodeIgniter version, then all should work just fine. If you have to stick with 4.0.2 for now, then the solution for you is one post above.
I have just released v1.1.0 of this package.
The new release covers a few bugfixes and two new features: - New config variable $returnType that specifies if we want to get html (default), json or php array as a result when we load a file to display. - New optional config variables $baseJsUrl and $baseCssUrl to handle serving assets from separate domains. Thank you for your feedback.
@Inc33 - html minification is out of the scope for this package
@ivantcholakov - no, only minification + combining and versioning is supported |
Welcome Guest, Not a member yet? Register Sign In |