Hello, I am currently experimenting with Phalcon and have some issues regarding asset minification.
$this->assets->collection("appJs")
->setTargetPath("js/app.js")
->setTargetUri("js/app.js")
->addInlineJs("var user = " . json_encode($user) . ";")
->addJs("js/nouislider.js")
->addJs("js/materialize.js")
->addJs("js/edit.js")
->join(true)
->addFilter(new Jsmin())
;
$this->assets->collection("appCss")
->setTargetPath("css/app.css")
->setTargetUri("css/app.css")
->addCss("css/normalize.css")
->addCss("css/nouislider.css")
->addCss("css/shuttle.css")
->join(true)
->addFilter(new Cssmin())
;
When I tried opening the page, the minified files are generated and loaded successfully but the styles does not appear as expected, am I missing something or doing something incorrectly? Looking forward to your pointers and guidance